Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Include pxSessionTimer in the portal header section.
  2. Run the portal.
  3. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us