No, i get the follwing error

Element atcFormFields is undefined in a Java object of type class coldfusion.runtime.MemorySessionScope referenced as
6 : <cfset StructAppend(session['atcFormFields'],form)>

  ----- Original Message -----
  From: Michael T. Tangorre
  To: CF-Talk
  Sent: Tuesday, July 13, 2004 10:26 PM
  Subject: RE: GRRRRR Session problems

  > ahh seems like a cool trick and alot less code.... but i get
  > this error...
  > You have attempted to dereference a scalar variable of type
  > class java.lang.String as a structure with members

  <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?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to