Jump to content


This topic is now archived and is closed to further replies.


Session Expiry

Recommended Posts


I have a page that will be heavily used by many users and generates a session without destroying it. Believe me, I have tried to think of every way to get it to destroy, but I can't do it. It's a one page site and needs a session on every page.

My question now is, how can I force expire the session, say, two minutes after it was last used or so? The page auto-refreshes every 60 seconds, so if it hasn't been used for two minutes then generally they will not be using the session anymore.

I do have root access on the server, but would rather force it for just this script or domain. Either way, just give me the php.ini information if it's needed and I can force it on the domain through it's conf file.


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.