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

Disabling opening of multiple windows and tabs

$
0
0

HI experts,

I have another requirement that i have to restrict user to single window browser, if he opens a new window , automatic logoff should happen and his parent window should also logoff automatically invalidating the session.

 

In mast head ,

we can write java script code to find if the openend window is parent window or child window.

but im using this code which is not working...

 

 

 

if(window.top!==window.self)

{

logoff();

}

 

Regards

Govardan Raj S


Viewing all articles
Browse latest Browse all 2686

Trending Articles



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