Implementation of the session driver that stores session data in memory. This is the default, for compatibility, but it is recommended that you replace this driver with one with a persistent backend.

Hierarchy

Constructors

Properties

The associated data for this session.

request: Request
sessionID?: string

The ID of this session.

sessionsByID: {
    [key: string]: SessionData;
} = {}

Mapping of session key to session data object.

Type declaration

Methods