SV: [PHP-DB] automatic logout

From: Date: Mon, 10 Sep 2001 12:36:09 +0000
Subject: SV: [PHP-DB] automatic logout
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12289@lists.php.net to get a copy of this message
As far as I know, the only way to get timeout of session data is to store a timestamp with last access time and check this each time the session data is referenced.. If the user close the browser window, the session data will timeout and you don't have to worry. > -----Ursprungligt meddelande----- > Från: RSalomo [mailto:rsalomo@telkom.net] > Skickat: den 10 september 2001 10:27 > Till: php-db@lists.php.net > Ämne: [PHP-DB] automatic logout > > > hello, > i use session for user authentication in php/mysql. > > how to logout the session automatically if: > there is no activity for a period of time (user forgot to click logout), > or user just close the browser without logout > ? > > thanks, > rudy > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#12289) next »