Insite we have to restrict duplicate logins of the same user. We are developing our site using jsp/servlets on iPlanet Appserver..
I am thinking for a solution like this: I will maintain a status in the user table as: ON/OFF to indicate whether user loggedin or logout. If the status is ON, and again the user tries to login, we will send a msg:" Duplicate Login. Logout and try..."; When the user logs out, status is set to OFF.
Here, the real problem comes when the user does not logout from the site and left the browser idle, or some network failure may happen...In this also, i will bind a class to the user session, and when the session times out, this class will set the status to OFF.
I have implemented the same on JWS, it is working fine...but i am getting a problem on iPlanet...any ideas....or any new solution to this problem....