Well, it's very simple..
I have a session with a expiring time...
When session expire, I would like to redirect the site...
Which variable should I set or which function should I use ?
Session problem
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
There is no one function or variable for this. The most simple way I can think of is where you store the expiration time in the session or as part of the session data in some fashion, but do not actually set the session to expire then as far as the user is concerned. Checking the current time against the time stored to use the redirection logic.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Session problem
Are you talking about redirecting at the exact time the session expires? If that is the case, you will need to combine Feyd's suggestion with some Javascript to get the client side process you want.marshall wrote:Well, it's very simple..
I have a session with a expiring time...
When session expire, I would like to redirect the site...
Which variable should I set or which function should I use ?