Skip to content

Kirby 4.5.0

$kirby->session()

Returns the current session object

$kirby->session(array $options = [ ]): Kirby\Session\Session

Parameters

Name Type Default Description
$options array [ ] Additional options, see the session component

Return type

Kirby\Session\Session

Parent class

Kirby\Cms\App