hello guys,
how will i expire the session when the user immediately close the browser? and after that it will send an email the time the user logout? Thanks
You may try this
<body onunload="window.open('logout.php')">
do whatever you like in logout.php. (Recommend: close it automatically)
i think lower version of netscape has a problem of onUnload function. is there an alternative for onunload? or a script in php w/c function as onunload?