Jump to content

Session Expiry


SlimSlyk

Recommended Posts

Hello,

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.

Thanks!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.