Support Article

User session not timedout when browser's different tab is opened

SA-38443

Summary



User configured custom script to show a pop up where time of one minute would be displayed before the session expires.

Now issue is once user opens another tab, time out is not happening as expected.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure user time-out when system is idle for 2 minutes and one minute countdown timer will display in popup.
  2. Switch to different window or tab in browser.
  3. Wait for one minute.


Root Cause



The execution of javascript happens only when the Tab is active or focused. The "showModalDialog" javascript function which user is using in script is not supported in Chrome browser.


Resolution



The execution of javascript happens only when the tab is active or focused.

This is the behavior of browsers and not a Pega bug.

And also the reason why popup is not showing in Chrome browser is because the "showModalDialog" javascript function which user using inside script is not supported in Chrome browser.

Published May 24, 2017 - Updated July 5, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.