RE: [PHP-DB] login twice
| From: | olinux | Date: | Thu, 05 Jul 2001 16:37:10 +0000 |
| Subject: | RE: [PHP-DB] login twice | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10089@lists.php.net to get a copy of this message | ||
could you set up a "STATUS" field to hold "0" for not logged in and
"1" for
logged in?
Then Login script would update the STATUS field. likewise the logoff would
as well. [You would need a way to timeout a user as well]. I am sure this is
not the best way, but seems simple.
-----Original Message-----
From: andRie Is [mailto:andrie@ajk.its-sby.edu]
Sent: Thursday, July 05, 2001 9:13 AM
To: php-db@lists.php.net
Subject: [PHP-DB] login twice
Hello php-db,
anyone knows how to avoid user to login twice in different computer
?
for exam : User A login using computer D, and then A go to computer
E and A login again. how to restrict A to login using computer E
when he have another session in computer D ?
,,,
(@-@)
+==---o00----(_)----00o-----==+
"It is better to be defeated on principle than to win on lies."
--Arthur Calwell
--
Best regards,
andRie
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com