How to enable Session History in Drupal

Last updated on
2 March 2026

In this document, we’ll show you how users can view their session history to see when and where they’ve logged in. This helps them spot any suspicious activity and take action if needed. The User Session Management module is compatible with Drupal 8, Drupal 9, Drupal 10, and Drupal 11. Keep reading to see how it’s done.

Prerequisite: 

  • You will require the Premium Version of the module to configure the User Session History feature.

Configuration steps:

  • Navigate to Configuration > People > Session Management. (/admin/config/people/session-management/session-management)

    select drupal session management module

Note: If you're not logged in, please log in using the miniOrange credentials used to purchase the license.

  • Navigate to the Session Monitor Configuration section under the Session Management tab.
  • Turn on the Enable session history toggle button and click on Save Configuration.

    Drupal Session Management Session History details

Let's see how it works:

  • Open a new browser, such as Edge, or a private/incognito window and log in (base_url/user/login) to the Drupal site.
  • Go to the Sessions tab (user/{user_id}/mo_sessions) to view the user’s complete active login history. It shows details such as login time, logout time, browser, and IP address.

    Drupal Session Management User Session history details

Contact our 24*7 support team

Feel free to reach out to our Drupal experts if you need any sort of assistance in setting up the Session Management module on your Drupal site.   

 Get In Touch With Us Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: