Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] How to set the time for session?? From: speedboy (speedboy <email protected>)
Date: 09/19/01

> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>