Support Article
pxSessionTimer display multiple warning popups
SA-61120
Summary
When using pxSessionTimer, multiple timeout warning windows display intermittently.
Error Messages
Not Applicable
Steps to Reproduce
- Include pxSessionTimer in the portal header section.
- Run the portal.
- Wait for the warning window to display.
Root Cause
An issue in the custom application code or rules.
If the warning timer is set to half or more of the timeout timer value, the warning can be triggered more than once.
For example, if the timeout is 10, and the warning is 8, a two minute timer (10-8) is triggered. Due to how pxSessionTimer's client-side JavaScript works, that timer is triggered every two minutes and not just once.
Resolution
Perform the following local-change:
Set the warning timeout to less than half the value of the timeout.
For example, if the timeout value is 10 (minutes), set the warning timeout to 4 (this triggers the timeout after 6 minutes, that is 4 minutes before the timeout).
Published August 24, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.