During some debugging of our WebLogic application, I've noticed that the JSESSIONID doesn't change after the user logs out.
I'm trying to understand if this is something I need to be concerned with.
This application is one of two applications running within a WebLogic instance, and I notice that they both share the same JSESSIONID.
This question makes reference to the following:
SRV.7.3 Session Scope
HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such as the cookie used to establish the session, can be the same for different contexts, but the object referenced, including the attributes in that object, must never be shared between contexts by the container.
This suggests that ultimately it's up to WegLogic to choose how to manage these JSESSIONID values, and I should not try to interpret meaning from the change in value (or lack thereof).
Additionally, I've wired up an HttpSessionListener
on the application, and I see the sessionDestroyed
method get invoked.
Given these two elements, it seems safe to me that the JSESSIONID is not changing. However, this is different behaviour from what I'm used to, so would like to verify my assumptions.
Is it a security concern that the JSESSIONID doesn't change?