session.invalidate() when closing window
Hi,
I'm tryingto use the onunload function to end a session when a user closes a window but the session.invalidate() function seems to occur everytime the page refreshes.
<BODY onunload="<%session.invalidate()%">
It works if I display a message box instead of calling a session method.
Thanks for your help,
Nisha

