Create a new empty session.
Create a new empty session. The newly created session will be assigned an id by the underlying implementation.
Create a new empty session.
Create a new empty session. The key is a hint to the key of the session and implementations can ignore if needed.
Mark the given session as expired and remove it from the underlying implementation.
Mark the given session as expired and remove it from the underlying implementation. If the session does not exist or has already expired, then this is a no-op.
Returns a session or None for the given session key.
Returns a session or None for the given session key.
Persists the given session.
Persists the given session.