$sessionStore->exists()
Checks if the given session exists
$sessionStore->exists(int $expiryTime, string $id): bool
Parameters
Name | Type | Default | Description |
---|---|---|---|
$expiryTimerequired | int |
no default value | Timestamp |
$idrequired | string |
no default value | Session ID |
Return type
bool
true: session exists, false: session doesn't exist