Search Results :

×

Setup Session Monitoring in Drupal

With the Session Management module, users can view a list of all their active sessions on the Drupal site. This feature helps them manage their sessions and delete any unrecognized or potentially compromised ones.

The Drupal Session Management module is compatible with Drupal 8, Drupal 9, Drupal 10, and Drupal 11.

  • Download the module:
    composer require 'drupal/session_management'
  • Navigate to Extend menu on your Drupal admin console and search for Session Management using the search box.
  • Enable the module by checking the checkbox and click on the Install button.
  • You can configure the module at:
    {BaseURL}/admin/config/people/session-management/session-management
  • Install the module:
    drush en drupal/session_management
  • Clear the cache:
     drush cr
  • You can configure the module at:
    {BaseURL}/admin/config/people/session-management/session-management
  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal Session Management module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on install button.
  • You can configure the module at:
    {BaseURL}/admin/config/people/session-management/session-management
  • Navigate to Configuration > People > Session Management.
    (/admin/config/people/session-management/session-management)
Drupal Session management - enable session history

  • Navigate to the Session Monitor Configuration section under the Session Management tab.
  • Enable the Display all sessions registered by the user under the user profile toggle button.(This option lets users see their active sessions.)
  • Choose the date-time display format from the dropdown, or add a custom one using the provided link.
  • Click on the Save Configuration.
Drupal Session management - enable toggle

  • Open a new browser, such as Edge, or a private/incognito window and log in to the Drupal site.
  • Go to the Sessions tab (user/{user_id}/mo_sessions) to see all active sessions for the user. It shows details like access time, browser, device, and IP address.
Drupal Session management - User Details

Congratulations! You have successfully set up the User Session Monitor in Drupal.

If the configuration was not successful, please contact us at drupalsupport@xecurify.com. Kindly include a screenshot of the error message, and we will help you resolve the issue and guide you through the setup.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support