Session
Table of Contents
Interfaces
- EphemeralSessionInterface
- A session that lives as long as its request and is never stored.
- SessionInterface
- SessionLockInterface
- Serializes the requests of one session across the workers that serve it.
- SessionManagerInterface
- Factory interface for creating session instances.
- SessionStoreInterface
Classes
- EphemeralSession
- The session of one request on a server built without {@see \Mcp\Server\Builder::setSession()}.
- FileSessionLock
- Session lock backed by `flock()` on one file per session.
- FileSessionStore
- File-based session store.
- InMemorySessionStore
- Psr16SessionStore
- PSR-16 compliant cache-based session store.
- Psr6SessionStore
- Session store over any PSR-6 cache pool.
- Session
- Saving writes only the keys changed since the last save, onto what the store holds by then: concurrent requests of one session keep each other's changes as long as they change different keys.
- SessionManager
- Default implementation of SessionManagerInterface.
- SymfonyLockSessionLock
- Session lock backed by a symfony/lock store, for sessions shared across machines.