For example use session_ids. This does not mean that use MUST use PHP session module. 
Store a unique string in the DB and set it as
cookie for the user. When someone logs generate a string, write it in the members 
table and old session is removed, so the user with
old session will be not able to access pages except if relogging and thus expiring 
second login.

Best regards,
Andrey


----- Original Message -----
From: "Michal Dvoracek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 9:58 AM
Subject: [PHP] login library


> Hello,
>
> i want to write some application that requires users login.
>
> So i have question how i can check duplicity login (eg. browser crash,
> login from one computer using two browsers, ...). I need some idea
> (the best will be some example code :) ).
>
> Thank you.
>
> Michal Dvoracek                          [EMAIL PROTECTED]
>
>
> --
> 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