Skip to content

Allow update of existing WebSession after max sessions limit is reached #35018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sbrannen opened this issue Jun 10, 2025 · 1 comment
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Milestone

Comments

@sbrannen
Copy link
Member

@sbrannen sbrannen added this to the 6.1.21 milestone Jun 10, 2025
@sbrannen sbrannen self-assigned this Jun 10, 2025
@sbrannen sbrannen added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug type: backport An issue that is a backport of another issue to a maintenance branch labels Jun 10, 2025
sbrannen pushed a commit that referenced this issue Jun 10, 2025
Previously, when saving a WebSession, the system did not check whether
the session ID already existed. As a result, even if the session being
saved was an update to an existing one, it was incorrectly treated as a
new session, and a "maximum sessions exceeded" error was triggered.

This fix ensures that if a WebSession with the same ID already exists,
it will be updated rather than counted as a new session, thereby
preventing unnecessary session limit violations.

See gh-35013
Closes gh-35018

Signed-off-by: Mohammad Saeed Nouri <[email protected]>
(cherry picked from commit c04902f)
sbrannen added a commit that referenced this issue Jun 10, 2025
See gh-35013
See gh-35018

(cherry picked from commit 4d2cc4a)
Copy link
Contributor

Fixed via cd44efa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant