hi,
Below function is working fine for IE, but not working for Mozilla and other browsers
function CloseSession() {
alert("Inside Close");
if ((window.event.clientX < 0) || (window.event.clientY<0)) {
alert("Inside Events");
location.href = '/forms/sessionkill.aspx';
}
}
What I am trying to do is, I have a button on a page after clicking on that button, a page in opened in new window having session, the session will be maintained until user closes the browser. on the new page there is right navigation which have different links for different pages. If I directly call my sessionkill.aspx it kills the session whenever a link is clicked on window unload function.