Time-Out for JSP/Servlet Application

Discussions

Web tier: servlets, JSP, Web frameworks: Time-Out for JSP/Servlet Application

  1. Time-Out for JSP/Servlet Application (1 messages)

    There is a web- based application written with JSP/Servlets. We wanted to improve on the design by adding a time-out function. This function would prompt the user(with a dialog box)after 20 minutes of idleness to say that there is 5 minutes left for this session and to click 'ok' to continue with the session. If the user does not click 'ok' he will be kicked out of the application. The definition of idleness is no request/repsonse to or from the server. I was wondering if anybody could give me some optionss on how to implement this. Thank you very much!
  2. Time-Out for JSP/Servlet Application[ Go to top ]

    You can use JavaScript and then invalidate the session if the user does not interact with the system.

    http://javascript.internet.com/page-details/session-time-out.html