Hi,

> Does anyone know if tomcat really has Unique Session ID creation.  That is
> I
> leave tomcat running for a week. Stop it.  Start it.  Is it possible that
> a
> duplication session ID will be created in my new running instance that
> matches a session ID created in my previous running instance.

It's possible, but exceedingly unlikely.  You can go over the implementation
yourself (the beauty of open-source ;)).  But even if you don't want to do
that, make sure to read
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/manager.html.  Note
that by configuring some of the Manager parameters discussed on this page,
such as "entropy," every time you restart the server, you can further reduce
duplicate session ID probability.  

Alternatively, if you're really paranoid about this, simply extend the
existing manager with one that keeps track of past session IDs, and does not
issue them ever again ;)

Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management / School of Engineering
Cambridge, MA USA
[EMAIL PROTECTED] / [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to