Results 1 to 2 of 2

Thread: Sessions expire althought I set them to indefinite

  1. #1
    Join Date
    Jun 2005

    Red face Sessions expire althought I set them to indefinite

    I checked the PHP configuration and I can see the session timeout is set to never expire, however; sometimes my application fails to read the Session variables. I keep a logged-in flag in the Session but it is empty after a while. I have to logout and re-login, please advice.
    Thank you
    Eng. Amir Saad

  2. #2
    Join Date
    Aug 2004
    One possibility is that the session data is cleaned up due to the session.gc_maxlifetime setting (see http://www.php.net/manual/en/session.configuration.php).
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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