Jump to content


Session Expiry

  • Please log in to reply
No replies to this topic

#1 SlimSlyk

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 23 June 2006 - 05:42 AM


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.

[a href="http://www.newsfortress.com" target="_blank"]NewsFortress[/a] | Non-Stop News
The latest news articles reviewed and added all day long
[a href="http://www.newsfortress.com/blog" target="_blank"]Command Room[/a] | NewsFortress | News Behind the News
A blog maintained by the operators of NewsFortress

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users