Results 1 to 3 of 3

Thread: [nm fixed it]Session Help

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    117

    [nm fixed it]Session Help

    I seem to be having a problem when trying to use sessions. I go to write the session to a MySQL db and it writes fine. The problem arises when I go to start the session again in order to retrive the values out, all the values I had just put in get erased.
    Do I need to call session_start in order to get the values? If so how or what should I do to keep the values that were in there set.
    Thanks for the help.
    Last edited by Ender_01; Apr 15th, 2002 at 10:44 AM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    117

    kind of maybe

    Well I kinda just figured it out.
    It is calling the update function with the value = "" which in essence erases it. So how can I keep the old value in there and add new values.
    My thought is that I simply pull out the old value with a select statement and tack on the new ones and then stick them pack in/update them.

    Thanks again for the assist.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    117

    doh!

    Turns out my read function was a little screwy so it wasnt returning the values as it should. Anyways its fixed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width