Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

session time out when the tab closed on iE

$
0
0
We are using the below javascript code and which is working ie 8 and 9 but it is not wroking IE10 updated version 10.0.7(
KB2846071 )update.
Please find Javascript snippet below which we are using in application:

 

 window.onbeforeunload = function()

{  

        

     if ((window.event.clientX < 0) || (window.event.clientY < 0) || (window.event.clientX < -80))

    {           

        

         endSession();

    }  

};

Please help me to resolve this issue on ie10 or is there any alternate script which will find the tab close to invalidate the session in java.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



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