StructCopy(form) will not hold?

I am porting an application from CF5 to CF7 and in the app I have working code that copies the the contents of a form to a session variable so that I can use the information throughout the rest of the app.
<cfset session.stCustomerData = structCopy(form)>
This works great in CF5 and on the forms landing page the data is populated. But as soon as I leave the landing page (Link or Form Submit) the stCustomerData struct is missing from the session? ONLY the stCustomerData data?
If I loop through the form keys, it works.
<cfloop list="#StructKeyList(form)#" index="i">
<cfset SetVariable("session.stCustomerData.#i#", evaluate("form." & i))>
</cfloop>
I really don't want to scrube through 10 years woth of code to find all these! Any ideas?

Use Duplicate instead of StructCopy.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Read this before you post:
http://forums.adobe.com/thread/607238

Similar Messages

  • My Apple iPad 3 is less than 6 months old - purchased in March of 2012.  I believe it already needs a new battery.  It will not hold a charge for very long andvs very slow in starting up a carge when I plug it in.  Please advise - it is very annoying.n.

    My Apple iPad 3 is less than 6 months old - purchased in March of 2012.  I believe it already needs a new battery.  It will not hold a charge for very long andvs very slow in starting up a carge when I plug it in.  Please advise - it is very annoying.

    Take it to Apple Store. You are covered under your 1 year warranty.

  • I have had my iPhone about 1 1/2 years...with no problems. About 2 days ago my battery drained within an hour, I plugged it in to charge and it heated up so hot the temperature warning popped up on the screen. The phone will not hold a charge now.

    I have had my iPhone 4 for about 1 1/2 years, with no problems. A couple days ago the battery drained in about an hour, I plugged it in to charge and it was not charging. After a few hours a message popped up on the screen about the temperature being too hot...the phone was very hot when I picked it up. The battery will not hold a charge and it heats up every time I plug it in. Suggestions???

    Make an appointment at the genius bar. An out of warranty replacement is $149.  It sounds like it may have gotten wet.

  • Will all my music transfer from the mac to my macbook air? I don't want it to because there is too much and the air will not hold it.

    will all my music transfer from the mac to my macbook air? I don't want it to because there is too much and the air will not hold it.

    Welcome to Apple Support Communities
    First, when you are going to turn off or restart your Mac, you will see a box called "Reopen windows when logging back in" in the shutdown or restart window. Untick this box and see if the App Store opens automatically in the next startup.
    If it starts, open System Preferences > Users and Groups > Login Items, and see if the App Store shows up. If so, remove it from this list

  • Oracle Form will not load in browser

    Setup;
    Oracle 9.0.1.4.0 Database
    Oracle 9.0.4.0.19 Forms
    OS XP SP2
    This is for testing so this is all local, no application server in use
    I have setup a very simple form using only one canvas with two fields.
    Login to Forms Dev->Start OC4J->Connect to DB->Compile->Run Form
    When opening in;
    Explorer 7 -
    "Do you want to open or save file" therefore I adjusted the security settings, it will automatically open the file but it will only display the Oracle Forms header in the page, this is all. If I open the file in notepad I see the form I have run being called but it will not display
    Foxfire 2.0.0.6 -
    A webpage will open, then see the Forms Builder splash page, the webpage will then load for 10 seconds then disappear, never displaying the form.
    I have reinstalled the application and looked at the known issues for Forms Developer, did see one about the spaces between the names in the directory structure, I have changed that and that did rid of some errors, but the about is currently where I am at.
    I have installed many DB's and created forms on that info, I do not see what I am missing.
    Anyone have an idea
    Thanks

    thank you for the reply,
    the form will not even load, to be more clear (sorry) I will speak of Internet Explorer since other threads in this forum state issues w/ Firefox and Java
    Run the Form->'Oracle Forms.' will display in the browser (not the actual form though)-> you hear the sound indicating something has been blocked->allow-> Error - Internet Explorere has encountered a problem and needs to close.
    When selecting more
    Error signature
    AppName: iexplore.exe
    AppVer: 7.0.6000.16473
    ModName: jvm.dll
    ModVer: 0.0.0.0
    Offset 0004ed44
    This is the HTML that is in the file being loaded;
    <html> <head> ORACLE FORMS.</head>
    <body onload="document.pform.submit();" >
    <form name="pform" action="http://MIS87129:8889/forms90/f90servlet" method="POST">
    <input type="hidden" name="form" value="C:\oracle\Forms_FMB\BLOB_TEST.fmx">
    <input type="hidden" name="userid" value="SYSTEM/SYSTEM@test1">
    <input type="hidden" name="obr" value="yes">
    <input type="hidden" name="array" value="YES">
    </form> </body></html>
    There is a further detailed report attached to that but the size of it is much like a trace file in Oracle DB =), I don't know if you can assist with the info provided.
    Message was edited by:
    dnunknown

  • Samsung Fascinate Will Not Hold Charge

    My Fascinate will not hold a charge longer than about 8 hours. I went to the Verizon store and they said I should get a new battery.  I did. It held better for a couple of weeks and now it is worse thatn before.  Any ideas?

    Hello brookssanford,
    Are you still experiencing opportunities with your device holding a charge?  If so, I would suggest a factory reset to the device. Since you received a different battery the common denominator would lead towards the device.  To do the reset you would navigate to Settings>Privacy>Factory Data Reset>Reset Phone>Erase Everything.  The phone will reset and prompt you to re-activate the phone.  Please keep in mind this will erase everything from your device so please back up if desired.  Please let me know if this helps. Thank you. 

  • My 27 inch iMac screen will not hold position when I move it.  It just drops back to the lowest position.

    My 27 inch iMac monitor tilts forward and will not hold position when I adjust it up.. Is there a tension adjustment for the monitor position?

    That is a hardware issue that will be covered under warranty if the machine is a 2012 or later iMac. Bring it into your closest Apple Store or AASP for repair.

  • ARD admin password will not hold

    I recently had to have my MacBookPro replaced under warranty. I cloned the hard drive from the old machine to the new. All good except a few apps needed to be re-registered. ARD on the other hand will not hold/remember my password. I accepts the password and I can use ARD but the next time I launch it it requires the password again. Any ideas about how I can get the password to hold?
    many thanks
    Mark

    Yeah!.. thanks Dave. I now always run as a standard user. I logged on as Admin and entered the serial number and it held! Great. Thank you. It is the only app I have which had done this so far. Most just ask to authenticate. Weird that it did not protest, just did not do it.
    thanks again
    Mark

  • Ever since I updated InDesign CC (2014) approximately 22 days ago... I CANNOT get the welcome screen to not come on at the launch on InDesign. I set the preferences in InDesign to NOT show the welcome screen upon launch, but it will NOT hold the preferenc

    Ever since I updated InDesign CC (2014) approximately 22 days ago... I CANNOT get the welcome screen to not come on at the launch on InDesign. I set the preferences in InDesign to NOT show the welcome screen upon launch, but it will NOT hold the preferences i choose. Anyone else have any other ideas? I am about to lose my mind... I hate you ADOBE!!!

    that s just the problem, that is why my level of frustration is boiling over ... I have told InDesign over and over again "Do Not Show Again" but it will just not hold the settings. It might hold it for a day or so, but then suddenly there it is again on another launch. Very very annoying.

  • Form will not print the typed information?

    My forms will not print the typed information only the form itself as a blank form.
    I have Acrobate 8 Professional V. 8.3.1
    Please advise on how to correct this annoying problem that started with the latest update.
    Thanks

    For Macintosh the AdobeViewer Plugins does not function and Hasn't since Acrobat 8. Adobe has no intention of fixing  it, I received a nasty reply:  what feature do you want removed in order fix the problem.  Its not worth it and we have no intention of ever fixing it. However its shipped and installed on the Mac version
    The only PDF Plugin that works  is PDFBrowser Plugin by Schubert of Germany, and it appears he has discontined updating although Thankfully It works in OSX.8  with most mdern Updates.  You can Only fill out forms by opening Chrome, iCab , and OperaNext only Safari doesn't work and any product using the Gecko Rendering engine (Mozilla Products , FireFox and SeaMonkey  Form Fields don't work or crash the browser. (depending upon version of the pdfBrowser Plugin).

  • UIX form will not refresh data within session

    I have some UIX forms to view a table, they displays data fine but when the underling table data changes (from another user session or an update trigger from different table) the forms will not show refreshed data, unless I delete my browser session cookie. Is there a simple way to fix this, and cause data to be reloaded each time it’s displayed? I'm using JDeveloper 10.1.2
    Thanks, Craig Smith
    Message was edited by:
    user503876
    Message was edited by:
    user503876

    Dear Sir...
    in the struts page flow diagram
    1- create a data action
    2- drag the execute method from the viewobject methods and drop it on the data action
    3- draw a page forward from the data action to your data page
    4- finally ad a refresh link in your page which links to your data action
    now each time you click the refresh button on your page, the execution will go to the data action, where the execute method is executed (the data is refreshed) and then the control goes back to your page.
    best regards

  • After being dropped in water my Ipod will only work when hooked up to the computer or docking station.  It will not hold a charge.  What do I need to do?

    My son dropped his Ipod in some water, we put in a bag of rice overnight and it works fine when connected to the computer or docking statioon but it will not hold its charge once it is off the cable & not hooked up, so he cannot listen to it unhooked..  Any suggestions on what to do?  Thanks!!

    Take it to an Apple store. Most likely you will have to get a replacement for which you will be charged the replacement fee.
    Rice only absorbs water. But it cannot prevent damage to the device.

  • Why is my location city changed by Firefox to a town I don't live in? I put in my zip code in the weather info and it will not hold it no matter what I do. This is very frustrating and never a problem in the past. IE doesn't have the problem. Help?

    Why is my location city changed by Firefox to a town I don't live in? I put in my zip code in the weather info and it will not hold it no matter what I do. This is very frustrating and never a problem in the past. IE doesn't have the problem. Can anyone help?

    1) Is it a video clip? Something you recognize?  To be clear, it's displaying at a point in your exported movie but doesn't appear at all in the sequence?
    2) What are your sequence settings?  Right-click your sequence and choose "Item Properties" to verify.

  • AdobeExportPDF on line purchase form will not accept my VAT number

    AdobeExportPDF on line purchase form will not accept my VAT number.  I have checked my VAT numeber again to Tax Authority registration form and it is correct.  Format is IExxxxxxxRH where x is a number.  Any assistance would be appreciated.

    Go here and scroll down to Still need help? Sign in for support:
    https://helpx.adobe.com/x-productkb/global/find-serial-number.html
    work your way through the links there and  just keep going, even when it looks like a page you've already been on, and you will be able to start a chat session and get it straightened out.

  • My iPod 32mg will not hold a charge.  It's 2 years old.  How can I fix this?

    My iPod 32mg will not hold a charge.  It's 2 years old.  How can I fix this?

    Apple will exchange the iPod for $79
    A third-party place like the following is less expensive:
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace it yourself.
    iPod Touch Repair – iFixit

Maybe you are looking for