This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Time-Out problem" Watch "Session Time-Out problem" New topic
Author

Session Time-Out problem

Atishay Jain
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Time-Out problem