Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Time-Out problem

 
Atishay Jain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic