This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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 preserved across Tomcat restarts ?

 
Vikrant Pandit
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am accessing my web application . Then I restarted tomcat . Then I again hit my web app from same web app.

And I am getting the same session with all attributes intact .


Does the Servlet Spec. talk about it ?

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat using Session Persistence to help retreive a session after it shutdowns or crashes. It's also used within clustered environments. I think that it's enabled by default, but uou can disable it.
I don't think that it's part of the specification (except the part on distributed environments).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic