Skip to content

Kirby 4.5.0

$sessionstore->set()

Stores data to the given session

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

Parameters

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

Parent class

Kirby\Session\SessionStore