Re: Preventing Multiple Log-Ins after Authentication

From: Date: Tue, 16 Jul 2002 19:07:39 +0000
Subject: Re: Preventing Multiple Log-Ins after Authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107952@lists.php.net to get a copy of this message
You'll have to assign each user a unique id each time they log on. If they attempt to log on again, check and see if they already have a unique id and if they do, don't let them log on again. the problems you'll run into with this is, though, is that if someone doesn't log out, they'll still have a session and will have to wait for your cron job to clear it out... It goes back to the old question of how do you know if someone is really online. what if they are viewing a page, accidently close the browser, and then try to log in again. your script will probably think it's someone else trying to log on... Not sure if there is a truly effective way to do this... ---John Holmes... ----- Original Message ----- From: "Monty" <monty3@hotmail.com> To: <php-general@lists.php.net> Sent: Tuesday, July 16, 2002 1:57 PM Subject: [PHP] Preventing Multiple Log-Ins after Authentication > Is there a standard method in PHP for preventing multiple people from using > the same log-in username/password simultaneously on a membership site? Any > suggestions are greatly appreciated. > > Thanks! > > Monty > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#107952) next »