Open
Description
Sometimes, there is the need to refresh the session ID without loosing the session data.
Examples:
- Refreshing session ID after authentication (to protect against session fixation attacks)
https://www.owasp.org/index.php/Session_fixation
session fixation attack jaredhanson/passport#192 - Manually refreshing session ID before it expires (e.g. if the user wants to keep working after the maximum session lifetime, but we do not want the same session ID to be used)