Re: What PHP function can detect session being expired??
| From: | Richard Davey | Date: | Sat, 14 Feb 2004 02:00:13 +0000 |
| Subject: | Re: What PHP function can detect session being expired?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177674@lists.php.net to get a copy of this message | ||
Hello Scott,
Friday, February 13, 2004, 8:43:59 PM, you wrote:
SF> When I set the session.cache_expire to 60 minutes then on the webpage,
SF> how do I get PHP to tell me that session had expired via PHP function or
SF> something?
Check for the existence of the session - if it's not there, it's
expired! There's no way to catch the event I don't believe, especially
as it happens client side in a sense. Maybe with PHP5?
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html