SAP Knowledge Base Article - Public

2708222 - Auto Logoff Not Working When Browser Is Closed

Symptom

You set the auto-logoff setting in Company Settings to, for example, 15 minutes, but if you close the browser the user session will remain active if you open again after 15 minutes.

Environment

SAP Hybris Cloud For Customer

Reproducing the Issue

  1. Go to Adapt.
  2. Go to Company Settings.
  3. Go to Auto Logoff tab.
  4. Set Inactivity Duration option to any number below 1 hour (e.g. 15 or 30 minutes).
  5. Save and Close.
  6. Close the browser.
  7. Open again the system before 1 hour but after the set auto logoff time.
  8. The application will be automatically logged in as the previous session is still active.

Cause

The Auto Logoff setting is built based on the User Interface framework, so it depends that the application session is open in the browser to work and count the time.

After you close the session the counter for Auto Logoff functionality won't work, however at the same time a backend session exists for the user login which then takes place and has a fixed time set to invalidate the session of 1 hour.

Resolution

This is the standard behaviour of the system.

If the feature/functionality is needed as a matter of urgency, please refer to KBA 3475641 - Functionality Currently not Available.

Keywords

Auto Logoff; Browser; Login; Session Active; , KBA , AP-RC-UIF-RT , UI Framework Runtime , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions