WireSessionHandler::read()

Read and return data for session indicated by $id

Usage

$string = $wireSessionHandler->read(string $id);

Arguments

NameType(s)Description
$idstring

Session ID

Return value

string false

Serialized data string, blank string if none, or false on fail


WireSessionHandler methods and properties

API reference based on ProcessWire core version 3.0.255