Skip to content

Kirby 3.7.5

$sessions->get()

Returns the specified Session object

$sessions->get(string $token, string $mode = null): Kirby\Session\Session

Parameters

Name Type Default Description
$token * string Session token, either including or without the key
$mode string null Optional transmission mode override

Return type

Kirby\Session\Session

Parent class

Kirby\Session\Sessions