Using php, how do I get my login to last longer?

Discussion in 'Programming' started by Glenn, Sep 4, 2013.

to remove all ads.
  1. Glenn

    Glenn Member

    Messages:
    203
    My sessions aren't lasting but about 5 minutes when I am not active on the site. How can I change this?
     
  2. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,675
  3. Glenn

    Glenn Member

    Messages:
    203
    I did. Nothing worked.
     
  4. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,675
    Then you probably need to use a cookie with no expiry that is checked instead of using sessions.
     

Share This Page