Hi,
I would like to run some logout script when the IE exits( or the [x] button on the top right of IE is pressed). The script works and is something like:
function onClose(formObj){
formObj.action ="logout.do?reqAct=logout" ;
formObj.submit();
}
However I simply cannot use <body onUnload="javascript
nClose()">. How can I capture the window close event?
If this doesn't work, is there any method to disable IE from closing except that the logout button is clicked?
Thanks a lot!