Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Drupal Idle Timer

3 sites No security coverage
View on drupal.org

This module provides a flexible way to manage user idle time, offering options like AJAX polling or session storage to log users out after inactivity. It allows for extensive configuration of timeout durations, warning popups, and even supports custom modal styling. Administrators can also track user logouts through detailed reports.

Drupal Idle Timer is a project that is a flexible option for handling Idle time for a user. It can use different sync options that suits your use-case. Every configuration option is changeable. You can also configure the classes/id's or attributes used for you modal so you can use your own.

Features

This module lets you choose between different sync options. The options that are currently supported are:

  • Ajax polling
  • Local storage
  • Session storage

It lets you configure configuration options yourself, like:

  • Which user to trigger on
  • Session timeout
  • Debounce rate
  • Warning popup duration
  • Poll interval
  • Providing an optional logout url

Newest feature: Reports
Site administrators can view idle logout reports at /admin/reports/drupal-idle-timer.
The reports include:

  1. User who was logged out
  2. Logout timestamp
  3. IP address
  4. User agent information

Reports can be filtered by:

  1. Username (partial match)
  2. Date range (from/to)

It also provides a default modal and with a well thought out list of CSS that are used in your custom modal. So if you want to build the modal yourself, use these. Also make sure your modal then uses these classes.

Post-Installation

Install the module just like any other module.
When installed, navigate to "/admin/content/drupal-idle-timer/settings" to configure.

Similar projects

Autologout Provides an autologout option using localstorage. It also uses its own modal.

For more technical info, see the readme in the GIT repo.

Activity

Total releases
2
First release
Nov 2025
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.1 Stable Nov 25, 2025
1.0.0 Stable Nov 18, 2025