Reads session data for a given session ID from the persistence store
Unique identifier for the session
Writes session data for a given session ID to the persistence store
Unique identifier for the session
Session data to store
Removes session data for a given session ID from the persistence store
Unique identifier for the session to remove
Updates the lifetime/expiry of a session without modifying the session data
Unique identifier for the session to touch
Contract interface that every session store implementation must follow. Defines the basic CRUD operations for session data persistence.
Example