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:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 9:13 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to