PHP Session expires

Discussion in 'PHP' started by vijayakumarb82, May 25, 2009.

  1. #1
    Hi Friends

    I have big issue in my website,

    After login my site when i click some other pages my sessions was automatically expires

    Please check

    username : webmaster
    Password : webportal

    http://bvkportal.freehostia.com

    and provide your feedback.

    Regards,
    Vijay
     
    vijayakumarb82, May 25, 2009 IP
  2. felluahill

    felluahill Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to make sure at the top of each PHP page you're calling:

    session_start();
    Code (markup):
    Otherwise you'll never get the previous session information.
     
    felluahill, May 25, 2009 IP
  3. KRISHNA KUMAR

    KRISHNA KUMAR Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    at the starting of each page call session_start() method. which will store info of page.
     
    KRISHNA KUMAR, May 25, 2009 IP
  4. HorseGalleria

    HorseGalleria Peon

    Messages:
    91
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I don't see a cookie with a session id.
     
    HorseGalleria, May 26, 2009 IP