Re: How to set the time for session??
| From: | speedboy | Date: | Wed, 19 Sep 2001 21:38:20 +0000 |
| Subject: | Re: How to set the time for session?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67903@lists.php.net to get a copy of this message | ||
> i want to expire the session if user sits 15 minutes idle without doing
> anything.
On each page view, you could write a variable to the session file, so the
last modified time is updated. Then run the session deletion script from:
http://database.sourceforge.net/scripts/session.sh
every minute. This is very reliable.