Bug 31356 - Duplicate sessions counter not incremented in ManagerBase
Summary: Duplicate sessions counter not incremented in ManagerBase
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.1
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2004-09-22 07:15 UTC by Michael Leditschke
Modified: 2005-03-20 17:06 UTC (History)
0 users

diff to fix problem (823 bytes, patch)
2004-09-22 07:16 UTC, Michael Leditschke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Leditschke 2004-09-22 07:15:13 UTC
The incrementing of this counter was lost during a refactor from version
1.29 to 1.30 of ManagerBase. The attached patch adds in back again
in the code to detect duplicate session ids in generateSessionId().
Comment 1 Michael Leditschke 2004-09-22 07:16:03 UTC
Created attachment 12828 [details]
diff to fix problem
Comment 2 Yoav Shapira 2004-09-24 14:59:35 UTC
OK, I've applied your patch, fixing this item for now.  As Remy said, the whole 
duplicates counting and tracking may be removed in a future release.