Session timeout - pop windows not closed
Error MessagesNot Applicable
Steps to Reproduce1. Implement session time out using pxSessiontimer section and mention required timeout and warning timeout values.
2. In a portal open report in a workspace and configure to open an item from the list in a popup.
3. At runtime, open the list item in a popup keep the session idle for sometime.
4. After session timeout, the requestor session is getting logged off but the popup window still exists.
Root CauseThe code provided in SA-26288 was working fine.
// Open a window (Custom code not using PRPC API)
var objWnd = window.open(strUrl, strWindowName, strWindowFeatures + "," + strFeatures);
/* Add window to app.openedWindows so it can be closed on timeout logoff */
var app = pega.desktop.support.getDesktopApplication();
With this code the popup window is now part of the UI Application objects openedWindows array.
Published August 12, 2016 - Updated August 22, 2016