Skip to content

Kirby 6.0.0

$sessions->detect()

Detects the current session from the request, ignoring the configured mode: prefers a token from the Authorization header and otherwise falls back to the cookie.