Just ran a quick test to confirm and it does seem that <cfset session.myForm = form /> creates a copy by reference...and it will not persist beyond the form's action page.
Doing a <cfdump var="#session#"> after the action page shows that the structure key still exists...but it contains an empty structure. On 8/11/05, Ian Skinner <[EMAIL PROTECTED]> wrote: > IIRC I ran into that vary problem. Session.form = form does indeed just > create a reference and I believe it caused me problems. Session.form = > duplicate(form) does create a deep copy and is the solution I came to use, I > believe. > > Sorry for the imprecise details. Hectic day, oracle database not talk to my > website, causing all sorts of problems. > > HTH > > > -------------- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > > Confidentiality Notice: This message including any > attachments is for the sole use of the intended > recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the > intended recipient, please contact the sender and > delete any copies of this message. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214612 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54