<cfset SESSION.FORM = FORM> does NOT copy the form structure, it merely creates 
a POINTER to it. so when there's no FORM, session.form is empty.
use <cfset SESSION.FORM = duplicate(form)> instead to clone/create a deep copy 
of the form into a session var.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Developer MediaDoc wrote:
> Hi all,
>
> I've run into a similar issue... and my brain is frozen as well :-)
>
> I want my form processing page to copy the FORM structure into a session 
> variable, so that it can be used on other pages for the same user.
>
> I have session management turned on.
>
> <cfset SESSION.FORM = FORM> SHOULD copy the FORM structure into a SESSION key 
> called FORM, with the FORM structure in it. If I cfdump SESSION I see it.
>
> But when I access any other page in the app, the SESSION.FORM exists, but is 
> empty... CF is clearing out that key/value... All my other 'simple' session 
> variables are still there... any ideas?
>
> Regards,
>
> Matts 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302138
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to