Hi Paul, Brian,
Thank you so much for the incredibly fast response and the fix!
I would like to clarify that the example I provided (invalidate() followed by getSession(true)) was a
synthetic case specifically designed for easy reproduction.
In our real-world environment, we encounter this issue in more natural scenarios, such as:
1. When a session expires due to a timeout, but the browser sends the old cookie in the next request.
2. When a session is invalidated in one servlet/request, and a subsequent request with the same ID hits
another servlet that attempts to create a new session.
Essentially, the problem seems to be triggered whenever an incoming request carries a "rotten" session ID
that is already marked as closed or expired in the cluster.
Again, thank you for the amazing speed in addressing this! We really appreciate it.
Best regards,
Igors Patrejevs
среда, 13 мая 2026 г. в 23:00:44 UTC+3, Paul Ferraro: