Skip to content

Kirby 5.3.2

$session->renewable()

Gets or sets the renewable flag Automatically renews the session if renewing gets enabled

$session->renewable(bool|null $renewable = null): bool

Parameters

Name Type Default Description
$renewable boolornull null Optional new renewable flag to set

Return type

bool

This method modifies the existing $session object it is applied to and returns it again.

Parent class

Kirby\Session\Session