First off, you have a typo. Look at the "key" name in the session structure;
you have atcFormFields. My posted code has stcFormFields.
Secondly, just run this to see if it works on your box:

<!--- BEGIN WORKING CODE --->
<cfset form['one'] = 1>
<cfset form['two'] = 2>
<cfset session['stcFormFields'] = StructNew()>
<cfset StructAppend(session['stcFormFields'],form)>
<cfdump var="#session['stcFormFields']#">
<!--- END WORKING CODE --->

The code works, I just ran it and copied it into this email.
Thirdly, your main problem is a lot bigger than you think if the above code
does not work (assuming you are on CFMX 6.1.. Which you already noted you
were on). Hit me up in the AM and we can continue... Or perhaps someone is
seeing something we are not.

Mike

> Element atcFormFields is undefined in a Java object of type class
coldfusion.runtime.MemorySessionScope referenced as
> 6 : <cfset StructAppend(session['atcFormFields'],form)>
> the code was ran exactly as you posted it. Im more worried
> about my main issue right now. I will work on gettin your
> code to work though, but not until i resolve the session
> issue thats holding me up on this app.
>
> Thanks for your help, im going to bed and will look at it
> fresh tommorrow
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to