WireSessionHandler::gc()

Garbage collection: remove stale sessions

Usage

$bool = $wireSessionHandler->gc(int $seconds);

Arguments

NameType(s)Description
$secondsint

Max lifetime of a session

Return value

bool

True on success, false on failure


WireSessionHandler methods and properties

API reference based on ProcessWire core version 3.0.253