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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to