Re: Preventing Multiple Log-Ins after Authentication
| From: | Dennis Moore | Date: | Tue, 16 Jul 2002 19:22:16 +0000 |
| Subject: | Re: Preventing Multiple Log-Ins after Authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107954@lists.php.net to get a copy of this message | ||
If you do not want to use cookes and use SID or trans SID; Another method is
to track your logins via a database. This can be resource intensive
though. You need to update the database upon each click or have an empty
window refresh every 1-5 minutes. If there is no activity for 15 or 30
minutes automatically log the person off in the database. This requires a
process to run in cron or a separate background program. The advantage of
this is that is very easy to add time based accounting to the session
management system.
----- 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
>