No, they do not change, as I said, I have other session dependent procedures running here that work fine, my main problem right now is that the don't persist in this particular app, they act as if they are just local variables that only exist on the page they are set on.
  ----- Original Message -----
  From: Matthew Walker
  To: CF-Talk
  Sent: Tuesday, July 13, 2004 10:15 PM
  Subject: RE: GRRRRR Session problems

  If you cfdump session, do the cfid and cftoken values keep changing?

    _____  

  From: Ewok [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 14 July 2004 2:16 p.m.
  To: CF-Talk
  Subject: Re: GRRRRR Session problems

  Thanks but no, it wouldnt set them at all if that was the case, I typed it
  in the email rather than copying it... it does set the vars and i can see
  them and the values of them until i submit again.

  Ive just changed it to manually set each field to a variable rather than the
  loop to check that too, but still the same problem
    ----- Original Message -----
    From: Ewok
    To: CF-Talk
    Sent: Tuesday, July 13, 2004 10:08 PM
    Subject: Re: GRRRRR Session problems

    its only ran onec initally to create the structure, it is not ran
  everytime.
    Als, session management IS enabled

      ----- Original Message -----
      From: Matthew Walker
      To: CF-Talk
      Sent: Tuesday, July 13, 2004 10:02 PM
      Subject: RE: GRRRRR Session problems

      Isn't this going to clear out all the previous values?

      <cfset session.pl = StructNew()>

      How about...

      <cfparam name="session.pl" default="#structNew()#">

      ...?
      ________________________________________
      From: Ewok [mailto:[EMAIL PROTECTED]
      Sent: Wednesday, 14 July 2004 1:55 p.m.
      To: CF-Talk
      Subject: GRRRRR Session problems

      Hola listo,

      I have a problem with session structs that is driving me batty... well
      battier..

      Ive got a multi step form that each time it is submited, I loop the
      form.fieldnames into session vars...

      <cfset session.pl = StructNew()>

      <cfloop list="#form.fieldnames#" index="i">
      <cfset session.pl[i] - form[i]>
      </cfloop>

      so thats all fine and dandy, on the next page i can dump the session and
  see
      the contents... yay, when i submit the second page, the same thing
  happens,
      the fields go into vars (yes, different names)

      so now im on the third page, but the first pages variables are gone and
  the
      second pages vars are there

      so if isubmit the third page, the first AND second pages vars are gone
  and
      the third page's vars are there....

      I tried breaking them into different structs PL1, PL2, PL3 etc... but
  the
      same thing happens... it's like its treating them as normal vars and not
      sessions and killing them once you leave the page that set them.

      I have plenty of other sessions in other apps that work fine so i know
  the
      server is handling sessions as it always has...

      any ideas?

      Thanks,
      Ewok
      ________________________________________

    _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to