• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session attributes after web server restarts?

 
Kanishka Ajwani
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the session object invalidated when a web server restarts? If yes, what happens to the attributes stored in session scope? Will they be lost or still available?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2531
112
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the session object invalidated when a web server restarts?

Not necessarily, some containers save their state to disk in case of a failure or restart. ( it is however not mandated by the specs to do so)

When saving their state the containers mostly make use of serialization.

Regards,
Frits
 
Kanishka Ajwani
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frits, got the point..!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic