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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

Last login time

37 sites Security covered
View on drupal.org

This module displays the last login time of the currently logged-in user. It stores this information in a session variable and provides a block to show it without adding any extra database tables.

This module is used to display the last login time of current logged in user.

This module stores the last login time in a session variable and pass this variable to
Last login time Block. It is a lightweight module which do not create an extra table
in a database. It is easy to install & use.

To display the last login time of current logged in user, You need to do the following.

Installation:

Drupal 7

  1. Download the module and place in sites/all/modules directory.
  2. Enable the module in admin/modules.
  3. Now goto admin/structure/block.
  4. Follow only one of the both ways mentioned below:-
    • Enable the Last login time block and assign a specific region.
    • OR
    • You can directly print session variable ("user_last_login") in your template file.
  5. You need to logout and login again to see the last login time.

Drupal 8

  1. Download the module and place into the modules directory.
  2. Enable the module in admin/modules.
  3. Now goto admin/structure/block.
  4. Click on "Place block" button and assign a particular region to "Last Login Time" block.
  5. You need to logout and login again to see the last login time.

Activity

Total releases
1
First release
Sep 2025
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
3.0.0 Stable Sep 3, 2025