Re: login library
| From: | Andrey Hristov | Date: | Thu, 28 Mar 2002 08:05:23 +0000 |
| Subject: | Re: login library | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90491@lists.php.net to get a copy of this message | ||
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" <michal.dvoracek@capitol.cz>
To: <php-general@lists.php.net>
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 michal.dvoracek@capitol.cz
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>