Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timeout validation dialog box.

 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
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().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic