Skip to content

Kirby 6.0.0

$sessions->updateCache()

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

Deprecated in 6.0.0
Use ::update() instead.
$sessions->updateCache(Session $session): void

Parameters

Name Type Default
$sessionrequired Kirby\Session\Session no default value

Parent class

Kirby\Session\Sessions