SessionHandlerDB::getSessionData()

Return all session data for the given session ID

Note that the 'data' property of the returned array contains the values that the user has in their $session.

Usage

$array = $sessionHandlerDB->getSessionData($sessionID);

Arguments

NameType(s)Description
$sessionID

Return value

array

Blank array on fail, populated array on success.


SessionHandlerDB methods and properties

API reference based on ProcessWire core version 3.0.253