Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes How to implement time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to implement time out" Watch "How to implement time out" New topic
Author

How to implement time out

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
hi,

I need advice of how to implement time out in struts2.

in the case scenario, the user watches short clips and answers question.

I would like:

1. if the user didn't do any activity (invoked any action) in 20 minutes - the appliction will close.

2. In any event, after 20 minutes of using the application, the first action that the user submits, after performing that action (which usually saves the data on the screen) it will transfer him to the final action.

What is the best way to implement it (regarding struts architechture)?
thanks!
 
Don't get me started about those stupid light bulbs.
 
subject: How to implement time out
 
Similar Threads
Session Timeout Timer Reset
How to prompt user that session is going to time out ?
GUI timeout in Java client application
GUI timeout in Java client application
Timing a use case for the user