Reference

rotateSession

Rotates a session through a deprecated router session alias.

Signature

function rotateSession<TData>(request: Request, response: Response, store: SessionStore<TData>, options: SessionCookieOptions): Promise<SessionRecord<TData> | undefined>