Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Session Inspector

Security covered Under active development 64 sites

This module allows users to view and manage their active sessions on a Drupal site, enabling them to close any sessions they don't recognize for improved security. Users can access a dedicated page to see and revoke their own sessions, and optionally, administrators can grant permissions to view sessions of other users.

Using this module you can allow your users the ability to view any sessions they currently have open on a Drupal site, and look at closing down any sessions they don't recognise. The goal of this module is to allow users to manage their sessions themselves without administrators needing to intervene.

This helps with security as users can remove any sessions from locations or devices that they don't recognise.

Usage

  • Install the module as normal.
  • Give the user roles you want to allow access to the sessions page the permission "inspect own users sessions".
  • Users with the permission can now see the Session tab on their user profile screens. They can also access this directly at /user/[uid]/sessions.
  • Users can delete any sessions they want, including the session they are currently using.

You can also assign the permission "inspect other user sessions" to certain roles who can view the sessions in use by other users. Use this permission sparingly though.

You can find a full write up of this module, including research, design and implementation in the article at https://www.hashbangcode.com/article/drupal-9-creating-session-inspector....

Plugin Modules

The following modules are available to format hostname and browser strings for this module.

Alternatives

The Session Limit module allows site administrators to set a limit on the number of sessions a user can have.

Drupal 10–11

Ask your assistant about Session Inspector

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

2 tracked projects depend on this one

Activity

Tracked releases
6
Tracked since
Apr 2023
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.8 Stable 10–11 Aug 23, 2026
1.0.7 Stable 9–11 Jul 25, 2026
1.0.6 Stable 9–11 Aug 2, 2024
1.0.5 Stable 9–10 Apr 19, 2024
1.0.4 Stable 9–10 Dec 24, 2023
1.0.3 Stable 8–10 Apr 6, 2023