cancel
Showing results for 
Search instead for 
Did you mean: 

User closing browser(X) instead of logoff

Former Member
0 Kudos

Hi,

In portal, when a user instead of logging out, closes the session abruptly by clicking on close button, the portal does not close the user session. When the URL opened again in the same terminal by anybody, the  portal opens with the previous user’s open session.

i used below code in masthead, but no luck.

var closing;

window.onload = function() {

     closing=true;

}

window.onunload = function() {

     if(closing) {

          EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");

     }

}

Portal Version : 7.0

Please help me to resolve.

Regards,

Anand

Accepted Solutions (0)

Answers (1)

Answers (1)

pramod_gopisetty1
Active Contributor
0 Kudos

Hi Anand,

Please check the SAP Note:

1978496 - After logoff user can still browse the portal without having to reauthenticate


This should resolve your issue.


Cheers-

Pramod


Former Member
0 Kudos

Hi Pramod,

Thanks for your response.

please find below properties in NWA,still facing same issue.