About Last Access

Allows to check when a page has been access the last time by a specific user.

Category 1Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 2Other Modules
Modules that have a unique purpose not covered by existing categories.
Release StateStable
Should be safe for use in production environments. *
Module Version1.0.0
Class NamePageLastAccess
Compatibility2.5, 2.6, 2.7
Date AddedOctober 10, 2014
Recommended ByNew recommendations may take up to 1 day to appear.


This module's files should be placed in /site/modules/PageLastAccess/
How to install or uninstall modules


Last Access

This module adds the property $page->lastAccess, which returns the timestamp, the user has visited the page the last time.

It also adds the property $user->accessedPages, that returns an array of all pages, the user has visited, plus the timestamps of the last access.


$page->lastAccess; // => 1412969969

$accesses = $user->accessedPages; // => array
$accesses[0]->timestamp; // => 1412969969
$accesses[0]->page; // => Page