Hello.
I have written an app that makes use of $_SESSION superglobals to keep user id information intact from page to page within an admin console.
Everything works fine except that the session seems to time out after about 30 mins of inactivity on the site, requiring that the user log in again to continue.
For what it's worth, the admin console is kept in a directory 1-down from the root E.G: /admin/ yet the PHPSESSID cookie says it's from the / path. Could this be messing with the continuity somehow? The cookie is set to expire at the end of session, which is exactly what I want, but obvoiusly it seems to expire earlier.
Anyone got any ideas?
Start Free Trial