Skip to content

Kirby 3.5.7.1

$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