HI
I wanna timeout session from client page,i tried below code but not able to execute code need some help of how i can handle OK or CANCEL events from user
<script>
function onBeforeUnloadAction(){
return "Would u like to discard Changes";
}
window.onbeforeunload = function(){
if((window.event.clientX<0) ||
(window.event.clientY<0))
{
return onBeforeUnloadAction();
}
}
</script>