Skip to content

Kirby 4.4.1

$session

The session object can be used to store visitor preferences for your site throughout various requests.

How to get the $session object

The $session object is available via the $kirby object:

$session = $kirby->session();