SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    london
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sessions question

    Hii have a question about sessions, i have a login page, when u type ur users name and password it posts the page to a validateLogin page where validation is done. if the details are corrcet i have a link to go to the home page else the user is redirected back to the login page...

    this was workign fine till i declared session variables in my validate login page so i can get them when the user goes back to the home page...

    Now i cant even login anymore....all my password fail...

    can any on eplease explain this to me.

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    check you have session_start(); at the top of your initial login page....
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    london
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i do and it still does not wrk , should i also have it on my validatelogin page

  4. #4
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    london
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry that was not the problem, i changed somethind and did not realise, working now


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
  •