In my application, user session will be invalidated if user closes window. If user reload page, session will not be invalidated. So I want to findout whether onUnload event triggered by reload page or window close.
Any workaround on this regard. Please find below my sample code. The logoff.html has code to invalidate session. Its working almost in IE but not in FireFox.
Thanks in advance,