Skip to content

Kirby 6.0.0

$fileStore->createId()

Creates a new session ID with the given expiry time. Needs to make sure that the session does not already exist and needs to reserve it by locking it exclusively.

$fileStore->createId(int $expiryTime): string

Parameters

Name Type Default
$expiryTimerequired int no default value

Return type

string

Parent class

Kirby\Session\FileStore