Session Time out is not happening when not focused on browser window

Hi All,

We have enabled log off timer on session time out. Session log off is happening only on browser window focus and not on below scenarios:

  1. windows lock or sleep mode

  2. Not focus on session browser window.

Appreciate your help

Thanks

@Prem K Could you please double check as per below points.

Session timeout can be configured according to the organization’s security policies:

  • In the Advanced tab of the access group
  • In the Advanced configuration settings of the Authentication Service(except for Custom/Anonymous/Kerberos type) by enabling the Use access group timeout
  • In the Custom tab of Authentication Service for Custom/Kerberos types by enabling Use PegaRULES Timeout
  • In a Portal rule using the pxSessionTimer section.

@Syed Basha Shaik Session timeout is happening only when focus on browser. When we move away from browser or logoff it is not logging off instead pop stays until we focus on that windows browser session. Also we are using LDAP authentication.

Thanks,

Prem K

INC-A11899 has been raised for this behavior.

@ChrisKoyl

The issue has been resolved via INC-A11899 resolution.

Resolution: LogOffTImer html rule Line number 45 is uncommented. OOTB it is commented.

Thanks,

Prem K

@Prem K Can you please tell if that line is doing window.setTimeout((closeme),itime) ?

@Prem K Yes it does work however, we are facing another issue after un-commenting the 45th line.

The timeout is hapenning correctly however, the time calculation in the pop-up windows is incorrect.

We have given the timeout to happen post 30 mins of inactivity. the warning window should be shown at 25 mins 01 sec but as I see it comes before 2 mins of termination and yet the timer shows that we still have 4:49 sec left, ideally it should show 2 minutes only.

as soon as we reach the 30 minutes, the session is terminated but before the termination it shows that we still have 2 mins and few seconds left.

How do we correct this?