Hi,
I'm working on a mail client. We want that when ever we close the browser without proper logout then a window will be there to inform that your session has been expired . i trid to do that . but when ever i redirect to anyoher script then this window again present(it should be there when we do imprper logout) .
i used 2 frames. one having actual processing script and other (1 row) having logout script.
the logout page having this code
<script language="JavaScript">
<!--
function handleExit(sessId) {
newWIn = window.open('out_of_session.php', sessId,'height=130,width=350,toolbar=no,status=no,menubar=no,resizable=no,left=300,screenX=300,top=300,screenY=300');
}
//-->
</script>
<body onUnload='javascript:handleExit();' >
</body>
"out_of_session.php" simply prompts a logout window.
Pz tell me what should i do now?
Thanks in advance