Skip to content

Kirby 6.0.0

$cookie->get()

Returns the session token from the cookie or null if no cookie is set

$cookie->get(): string|null

Return types

stringornull

Parent class

Kirby\Session\Cookie