Remove cookies from browsers during normal logout
By default, WebSEAL does not remove cookies from client systems during session termination, regardless of the cause of the termination. The termination might either be initiated by a client logout or by the server. This means the value of the OLDSESSION macro is always set to 1 when a user makes a subsequent request after the session termination. The scenario makes it impossible to trigger a custom login response.
Configure WebSEAL to attempt to remove cookies from client systems when the user logs out by sending a cookie in the corresponding response.
Typically, the only time WebSEAL receives stale cookies is when the terminated sessions were not initiated by the user. The scenario requires a custom login response. Important: While typically successful, there are times when configuring WebSEAL to remove a cookie might not remove cookies from client systems. For example, following a request for /pkmslogout and a successful session termination at WebSEAL, a network issue might interfere with the logout response transmission. In the scenario, the stale session cookie is left on the client system.
For this reason, security-sensitive decisions must not be based on the presence of the cookie, or the OLDSESSION macro value. An intentional logout does not leave a user with a stale cookie because it is normal browser operation to remove session cookies when a browser closes. A user logs out intentionally by closing the browser application, and the OLDSESSION macro is not set during the next request by that user.
However, the user session cache entry remains on the WebSEAL server, or Session Management Server. It continues to count against the max-concurrent-web-sessions policy setting until the cache entry expires because of lifetime or inactivity timeout.
Parent topic: Session removal and old session cookie concepts