Skip to content

Kirby 5.6.1

$sessions->updateCache()

Updates the instance cache with a newly created session or a session with a regenerated token

$sessions->updateCache(Kirby\Session\Session $session): void

Parameters

Name Type Default Description
$sessionrequired Kirby\Session\Session no default value Session instance to push to the cache

Parent class

Kirby\Session\Sessions