Jump to content

Recommended Posts

Posted

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
  • 1 year later...
Posted

v0.2.0 adds a feature allowing you to force the logout of a currently logged-in user. There's a confirmation step if you click the force logout icon.

image.thumb.png.02bb9d07806a221bb4455e59cc93b429.png

image.png.6865aef46c8cf9abf533999d2e6dd536.png

  • Thanks 2

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
×
×
  • Create New...