Skip to content

Kirby 3.8.4

$sessions->current()

Returns the current session based on the configured token transmission mode: - In cookie mode: Gets the session from the cookie - In header mode: Gets the session from the Authorization request header - In manual mode: Fails and throws an Exception