Skip to content

Kirby 4.5.0

$sessionstore->lock()

Locks the given session exclusively

$sessionstore->lock(int $expiryTime, string $id): void

Parameters

Name Type Default Description
$expiryTime * int Timestamp
$id * string Session ID

Parent class

Kirby\Session\SessionStore