WireSessionHandler::destroy()

Destroy the session indicated by the given session ID

Usage

$bool = $wireSessionHandler->destroy(string $id);

Arguments

NameType(s)Description
$idstring

Session ID

Return value

bool

True on success, false on failure


WireSessionHandler methods and properties

API reference based on ProcessWire core version 3.0.253