ProcessSessionInfo by Robin S

Lists information about active sessions in a similar way to SessionHandlerDB, but for file-based sessions.

Session Info

Lists information about active sessions in a similar way to SessionHandlerDB, but for file-based sessions.

Only install the module if you are not already using SessionHandlerDB.

Installation


1. If you want to be able to see the pages that are being viewed by active sessions then set...

$config->sessionHistory = 1;

...in /site/config.php

If you have already set $config->sessionHistory to a higher number then you can leave it unchanged: 1 is the minimum needed for use in the Session Info module.

2. Install the Session Info module. A helper module named "Session Extras" will be automatically installed also.

3. If you want to be able to see the IP address and/or user agent for active sessions then visit the module config page for Session Extras and tick the relevant checkboxes.

session-info-2

4. You can now view information about active sessions at Access > Sessions.

Screenshots


With $config->sessionHistory set to 1 or higher:

session-info-1

Additional information is listed when IP address and user agent tracking are enabled in Session Extras:

session-info-3

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #542
    In the 542nd issue of ProcessWire Weekly we'll check out a couple of new third party modules, a new site of the week, and more. Read on!
    Weekly.pw / 28 September 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“ProcessWire is like a breath of fresh air. So powerful yet simple to build with and customise, and web editors love it too.” —Margaret Chatwin, Web developer