Kryllster Posted January 17, 2011 Share Posted January 17, 2011 Is it possible to set a certain session to time out after say 2 minutes. I want to lock a person from seeing a page for 2 minutes then destroy the session yet keep the primary session and still keep dpoing what they were doing? Just curious. Thanks, Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 17, 2011 Share Posted January 17, 2011 i would use a cookie set to expire in 2 minutes, then check for that cookie. if the cookie is not there (expired), they can't see the page. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 17, 2011 Share Posted January 17, 2011 on second thought, you could just store a start-time in a session variable or database, then check to see if the time has expired. all sessions, no 'manual' cookie manipulation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.