Skip to content

Kirby 5.0.1

$sessionStore->createId()

Creates a new session ID with the given expiry time

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

Parameters

Name Type Default Description
$expiryTimerequired int no default value Timestamp

Return type

string

Randomly generated session ID (without timestamp)

Parent class

Kirby\Session\SessionStore