Expand description
The session access the server half needs synchronously, and the keys session-backed properties persist under.
Functions§
- crc32
- The CRC-32 (IEEE 802.3) checksum of
bytes, as PHP’scrc32()and zlib compute it. - csrf_
token - The request’s CSRF token, or
Noneon a route without a session. - current
- The session of the request being handled, or
Noneon a route without one. - exists
- Whether the session holds a value for the key.
- forget
- Forgets a value, such as one that no longer fits its property.
- get
- Reads a value a session-backed property persisted, or
Nonewhen the session has none. - property_
key - The key a session-backed property persists under.
- put
- Writes a value a session-backed property persists.