Re: Session expiration detection and handling
| From: | Richard Lynch | Date: | Tue, 21 Aug 2001 23:14:12 +0000 |
| Subject: | Re: Session expiration detection and handling | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63810@lists.php.net to get a copy of this message | ||
On each page visit:
Check their time-stamped (viz) session id to see if it's expired.
if (expired) header("Location: expired.php");
UPDATE a record with their session id and a timestamp.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Ryan Mahoney <ryan@paymentalliance.net>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Monday, August 20, 2001 2:56 AM
Subject: Session expiration detection and handling
> I am interested in detecting when the session expires and displaying a
> "your session has expired..." page. If anyone can recommend how to do
this
> or recommend a tutorial it would be greatly appreciated!
>
>
> Thanks!
>
> -r
----------------------------------------------------------------------------
----
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01
>