Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timeout validation dialog box.  RSS feed

 
Robert James Liguori
Author
Ranch Hand
Posts: 583
6
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After a session has expired, I need to open up a dialog box that gives the user two minutes to reset the timeout counter or the session will expire.

Any suggestions or tutorials that I can use to code this up? Can this functionality be done with JSF components or is Javascript needed?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make use of Javascript's setTimeout() function in combination with HttpSession#getMaxInactiveInterval().
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!