Originally posted by Desai Sandeep:
I have a LoginManager bean, which keeps track of the users who have logged in.This bean would be at the application scope in my JSP.
[..]When I did this, I used a Hashtable to store the users who had logged in.Probably you could do away with that and use the application implicit object setAttribute(), which is nothing but a Hashtable.
Originally posted by sjhyam m:
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.
any comments on this.....