Skip to content

Kirby 3.9.8

$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();