As far as I know, Application Server such as WebSphere or WebLogic can store users’ sessions (I mean httpSession) in memory or in different persistent storages. So the question is, what mechanisms does App Server use to remove old or invalid sessions from its storage?
As far as I know, Application Server such as WebSphere or WebLogic can store
Share
The most helpful thing that I have found is WebSphere Session Management guide. Although it contains rather general information it contains some kind of answer for this question. And also it seems to be quite up-to-date (2009).
And in general, the answer is, that there is a kind of scheduled worker / thread managed by AppServer which checks out all of stored sessions every N seconds and removes expired ones.