Hi,
I have a scenario wherein I have to prevent multiple log in of a single user without using session variable. If a user is logged in from system A then he/she should not be able to log in from system B. Also, in case of power failure or accidental shut down of system, he/she should be logged out of the system so that he/she can come again and log in from the same or different system. So, basically I have three scenarios in which log out must happen:
a. On closing of Browser i.e. direct exit from the application without log out.
b. On log out.
c. Accidental shut down or power failure.
Kindly help me with a proper solution so that I can implement this in my project.
Regards,
Rahul Ranjan