File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Session Generation" Watch "Tomcat Session Generation" New topic
Author

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?

Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
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.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Session Generation