Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Ckeditor Advanced Container 1.1.1 Minor update available for module ckeditor_advanced_container (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

This module limits the number of simultaneous browser sessions a user can have. When a user exceeds their session limit, older sessions are automatically logged out. Administrators can configure this limit and set exceptions for specific roles or users.

Session Limit allows administrators to limit the number of simultaneous sessions per user.

Max session is configurable, no database tables needed.

By default, a session is created for each browser that a user uses to log in. This module will force the user to log out any extra sessions after they exceed the administrator-defined maximum.

Assuming the session limit is 1, if a user is logged in to a Drupal site from their work computer and they log in from their home computer, they would be forced to either log off the work computer session, or abort their new login from home.

Try it out on Simplytest.me

Features

  • On login, logout the oldest session without prompting (optional)
  • At login, prevent login if existing session exists elsewhere (optional)
  • Notify old session about disconnect
  • Configure any number of max allowed sessions
  • Configure session limiting exclusions by role
  • Configure session limiting exclusions by user
  • New user session prompted to select which session to disconnect
  • Implements hook on collision
  • Implements hook on disconnect
  • Implements triggers and compatible with rules
  • Integrates with token module
  • Disregard Masqueraded user sessions in max session counter (optional)

Other recommended modules

  • Autologout - For limiting the length of time a user's session can last (Drupal 7/10).
  • Password Policy - For enforcing password length, complexity and renewal (Drupal 7/10).
  • Ejector seat - For periodically checking if a user has been logged out and then reloading the page they are on so they know they need to login before proceeding (Drupal 7).
  • Warden - For an dashboard overview of the security status of a large estate of Drupal websites (Drupal 7/10).

Activity

Total releases
3
First release
Jul 2026
Latest release
1 day ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.x-dev Dev Jul 27, 2026
3.0.0-beta2 Pre-release Jul 27, 2026
3.0.0-beta1 Pre-release Jul 27, 2026