Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to implement time out

Jordan Smith
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic