Skip to content

Commit

Permalink
server - reset session even if global
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Nov 4, 2023
1 parent e5497b2 commit 2273b80
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ private void close() {
if (context.isClosed()) {
// note that session cookie is deleted in response-builder
context.getConfig().getSessionStore().delete(session.getId());
session.getData().clear();
logger.debug("session deleted: {}", session.getId());
} else {
JsValue sessionValue = engine.get(SESSION);
Expand Down

0 comments on commit 2273b80

Please sign in to comment.