Skip to content

Kirby 4.5.0

$filesessionstore->lock()

Locks the given session exclusively

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

Parameters

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

Parent class

Kirby\Session\FileSessionStore