Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

User closing browser(X) instead of logoff

$
0
0

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


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>