Re: detecting browser close or change of url

From: Date: Wed, 02 Jul 2003 15:34:12 +0000
Subject: Re: detecting browser close or change of url
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-29035@lists.php.net to get a copy of this message
On 07/02/2003 10:06 AM, Jamie Saunders (phpdev@mediacdcards.net) wrote: > What I want to do is disable people logging into the same user account at the > same time. If this is your goal, try reversing your way of thinking. Instead of worrying about what happens when a user logs out (or doesn't), concentrate on what happens when the user logs in. For example you could remove previous sessions for a particular user upon successful login. To remove abandoned sessions, use a separate cron-controlled script in conjunction with PHP's built-in session garbage collector. Pablo

« previous php.db (#29035) next »