Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 13071
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic