Request for 'confirmed' user role

Created on 14 February 2025, 3 months ago

Hi Drupal community,

I am facing an issue where user sessions do not automatically end when the browser is closed. I've tried the following approaches, but none seem to work:

Modified settings.php – Set $settings['cookie_lifetime'] = 0; to ensure the session cookie expires when the browser is closed.
Installed Auto Logout Module – Enabled and configured the module to automatically log users out after the browser is closed.
Checked PHP Session Settings – Verified that session.cookie_lifetime is set correctly in php.ini.
Despite these changes, the session persists even after the browser is closed and reopened. The user remains logged in instead of being required to log in again.

Has anyone encountered this issue before? Are there any additional settings or configurations that I might be missing?

📌 Task
Status

Active

Component

User account

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024