In this website i need a system that logs the user out after 10 minutes. In
order to login i use a simple procedure of inserting a user in my case
called Lid instance, and the logout invalidates the session, additionally,
when the user logs in a timertask within a timer starts, and after 10
Why don't you just set the*session*-*timeout*30/*session*-*timeout*
value in webxml to 10 minutes?
On Sat, Oct 1, 2011 at 6:48 PM, Enrico Iorio writetoenr...@gmail.comwrote:
In this website i need a system that logs the user out after 10 minutes. In
order to login i use a simple procedure of
It would not be efficient, immagin you log in, you stay 2 minutes and then
voluntarily log out, after 3 minutes another user comes in on same pc and
logs in, after 5 minutes the new user is logged out because of the 10
minutes in the session-timeout
2011/10/2 Anthony DePalma fatef...@gmail.com
Thats not how sessions are created. Anytime you open a new browser or new
tab in some browsers a new session will be created. Any time a user
voluntarily logs out, his session ends. You really should just use whats
available, session timeout is meant to handle this. This sounds a lot like