Re: Session - to restrict same user from two logins
| From: | deco | Date: | Thu, 26 Jul 2001 17:06:06 +0000 |
| Subject: | Re: Session - to restrict same user from two logins | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59789@lists.php.net to get a copy of this message | ||
> an easier way of doing this is to have a database of users with their
> password in the table and when they log on simply mark them logged using
> sum boolean variable. this will, cut down time.
> good luck!.
> and remeber ........ Have a nice day :)
And when would you uncheck the boolean value? In theory, when the
session expires, but there's no event being triggered. Only solution would
be to check for active sessions periodically, or something like this...
Ideal solution would be for php to do it by itself when the session
expires..