File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Session Time-Out problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Time-Out problem" Watch "Session Time-Out problem" New topic

Session Time-Out problem

Atishay Jain

Joined: Jan 11, 2007
Posts: 10
Hi to all,

I declare the session-timeout as 30 minutes on the web.xml file.

But if I want to show a POP-UP window or to display on the browser that the system is IDLE from the last 28 minutes.... (BLAH BLAH....).

In the Nutshell, i wanna know that before the session get timed-out, it should give the warning once.
NOTE: The system is IDLE from the last 28 minutes, and the client is just infront of it, but doing nothing on the application.

Please help me.....
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12753
But if I want to show a POP-UP window or to display on the browser

That is a job for Javascript timer functions. There is no simple way to force the servlet side into this role.

subject: Session Time-Out problem
Similar Threads
ConnectionTimeOut Vs sessionTimeout problem
Not able to display starting jsp page index.jsp
Session time out in JSF
Session management configuaration Issue