Re: Session timeout
| From: | Victor Matherly | Date: | Thu, 13 Dec 2007 16:12:14 +0000 |
| Subject: | Re: Session timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265842@lists.php.net to get a copy of this message | ||
You could always just set you own cookie that expires after 10 min. Have your script redirect to a
login page if the cookie has expired or reset the cookie if its still valid.
----- Original Message -----
From: "Dani Castaños" <danitao.mailists@gmail.com>
To: php-general@lists.php.net
Sent: Thursday, December 13, 2007 7:36:06 AM (GMT-0500) America/New_York
Subject: [PHP] Session timeout
Hi all!
I've read a bit about PHP session timeout. Is it configurable?? I mean,
If i want user logged out after 10 minutes of innactivity... where i can
to set it up?? Is it possible to expire session configuring php.ini.
I know i will have to write code to do whatever when the session expires...
Thank you in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Victor J. Matherly
Technical Services
Wave Communications, Inc
http://www.wave-communications.com