HttpSession's ID changes. To receive notification
events, the implementation class must be configured in the deployment descriptor for the web application, annotated
with jakarta.servlet.annotation.WebListener or registered by calling an addListener method on the
jakarta.servlet.ServletContext .
HttpSessionEvent, HttpServletRequest#changeSessionId()
| Modifier and Type | Method and Description |
|---|---|
| public void | sessionIdChanged(HttpSessionEvent
the notification event se, String the old session ID oldSessionId)Notification that a session ID has been changed. |
| sessionIdChanged | back to summary |
|---|---|
| public void sessionIdChanged(HttpSessionEvent se, String oldSessionId) Notification that a session ID has been changed.
| |