Here is what i want :
"If a user is looged in and another user with the same login/password tries to enter the system he should not be able to login until the other user logged out of the system."
I can store the entry for the user in the table. And as long as that entry stays in the table other users can not login.
But the problem is when should i delete this entry from table.
When user presses logout is Ok.
But what if the light goes off or any other unintential log out .
Please advise.
Regards,
Atiq