interface SessionInterface
Interface for the session.
Methods
bool start() Starts the session storage.
string getId() Returns the session ID.
setId(string $id) Sets the session ID.
mixed getName() Returns the session name.
setName(string $name) Sets the session name.
bool invalidate(int $lifetime = null) Invalidates the current session.
bool migrate(bool $destroy = false, int $lifetime = null) Migrates the current session to a new session id while maintainin