Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

regarding sessiontimeouts when powerfailure happens  RSS feed

 
Hareendranath Babu Kotha
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi techies,

i am facing some problem in updating the sessiontimeout when power failure happens.....

please provide me with some code examples...or point me to some sites where i can find the examples.....

please reply soon.....
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by updating the sessiontimeout ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your system have any provision for orderly shutdown when power fails?

If a servlet container gets a chance to shutdown it may (depending on the server) be able to serialize all sessions and pick them back up again on restart.

If the computer just stops, there is no telling what condition the sessions are likely to end up in.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!