Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How unique is a session ID?

807606May 2 2007 — edited May 2 2007
Dear All,

I am using session.getId() in a JSP page for some sessions-based calculations. It is very important that the IDs generated are as unique as possible. Does anyone know the (practical) probability that two IDs generated are the same? The program using these IDs is expected to run more or less continuously for several years.

Regards,

Fred
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2007
Added on May 2 2007
7 comments
1,163 views