How to implement Auto logout feature in Struts based application.?
Example: I have a simple Struts Application and i want it to Auto logout if session is inactive for 1 hr or currently no user is using my Struts based application for 1hr...Please advice Ranchers
When The Going Gets Tougher,The Tougher gets Going
this is what i would do.. i would add a filter to check the session when you make an 'action' and set the filter to expire the session if is inactive in 60m. If there's no session the app will redirect you to an error page