> <cfset session['stcFormFields'] = StructNew()>
>
> <cfset form['one'] = 1>
> <cfset form['two'] = 2>
>
> <cfset StructAppend(session['atcFormFields'],form)>
>
> <cfdump var="#session['stcFormFields']#">
>
> Does the above work for you?
and no, my main problem was not bigger than I thought since I repeatedly said that there are other session dependent apps running on this same server.
it HAD to be in the code somewhere. I do appreciate your help, but your starting to seem a little grumpy to me. Glad it's fixed.
Ewok
----- Original Message -----
From: Michael T. Tangorre
To: CF-Talk
Sent: Tuesday, July 13, 2004 11:10 PM
Subject: RE: GRRRRR Session problems
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]

