Support for Spring WebSession lifecycle tracking #28164
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
TL; DR;
Add support for callbacks for tracking the lifecycle of a WebSession in WebSessionStore.Foreword
We had a use case to track journey of a WebSession. We wanted to track various aspects of it like when it was created, retrieved, saved, invalidated etc.Problem
The session expires based on -We wanted to distinguish the sessions which were removed due to inactivity for 30mins or maxSessions limit reached.
Currently there as no such hooks for any of the methods defined in WebSession interface to track the same.
The text was updated successfully, but these errors were encountered: