[Stripes-users] log-out issue on Stripes and TimerTask-based log-in system

2011-10-01 Thread Enrico Iorio
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

Re: [Stripes-users] log-out issue on Stripes and TimerTask-based log-in system

2011-10-01 Thread Anthony DePalma
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

Re: [Stripes-users] log-out issue on Stripes and TimerTask-based log-in system

2011-10-01 Thread Enrico Iorio
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

Re: [Stripes-users] log-out issue on Stripes and TimerTask-based log-in system

2011-10-01 Thread Anthony DePalma
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