SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Can we go to a 48 hour day?
    Join Date
    May 2002
    Location
    MI
    Posts
    906
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how are my session vars changed?

    I have a form for adding authors...basics. fname, lname, phone# all that.

    It posts to itself and calls the function to insert into the database. This is all done with POST vars.

    I start a session on the page to make sure the user is logged in/has permissions.

    Now two of my session vars I set at login are fname & lname. (the same as the two from this form)

    Somehow after completing this form the Session values are getting changed. At no point in time are the session variables used on the page. How in the world are they getting changed and how can I prevent it?

    Thanks
    mitechie.com
    "Techies just think a little differently
    ...at least that is what they keep telling me."

  2. #2
    if($awake){code();} PHP John's Avatar
    Join Date
    Jul 2002
    Location
    Along the Wasatch Fault line.
    Posts
    1,771
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are your POST vars also fname and lname? If so, try changing your session vars to firstName and lastName and see if that makes a difference.
    John


Bookmarks

Posting Permissions

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