Jump to content

Robin S
 Share

Recommended Posts

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

 

https://github.com/Toutouwai/ProcessSessionInfo
https://processwire.com/modules/process-session-info/

  • Like 10
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...