wood burning stoves*
The moose likes Tomcat and the fly likes Tomcat Session Generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Session Generation" Watch "Tomcat Session Generation" New topic

Tomcat Session Generation

Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
Hi ,

Does Tomcat allways generates unique Session ids?I mean when ever you restart tomcat are there any chances we get the session id which was generated before?

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
My understanding of the servlet API is that the session ID must be unique to that particular servlet container. When restarting Tomcat it may recover sessions that were serialized when it shutdown, so it will "know" about sessions that are still active.
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat Session Generation
Similar Threads
Persistent session
jdbc thin cliend thread problem-inactive sessions
form-based authentication - logout
tomcat down
Session question