Get the session history (if enabled)
Applicable only if $config->sessionHistory > 0
.
Example
$history = $session->getHistory();
print_r($history);
// outputs the following:
array(
0 => array(
'url' => 'http://domain.com/path/to/page/', // URL
'page' => 1234, // page ID
'time' => 234993498, // unix timestamp
),
1 => array(
// ...
),
2 => array(
// ...
),
...
);
Usage
$array = $session->getHistory();
Return value
array
Array of arrays containing history entries.
$session methods and properties
API reference based on ProcessWire core version 3.0.236