It's not a secret anymore!
The moose likes JSF and the fly likes Timeout validation dialog box. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Timeout validation dialog box." Watch "Timeout validation dialog box." New topic

Timeout validation dialog box.

Robert James Liguori
Ranch Hand

Joined: Nov 27, 2007
Posts: 541

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?

My Blog (I frequently post on Java, JSF and NetBeans)
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Make use of Javascript's setTimeout() function in combination with HttpSession#getMaxInactiveInterval().
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Timeout validation dialog box.
It's not a secret anymore!