How to detect browser Refresh or Close?
1. close of browser tab
2. close of browser window
3. click of any internal page link(i.e anchors and form buttons)
4. click of browser's Refresh button
5. click of browser's Back/Forward button
I have handled first 3 cases but not able to detect Refresh and Back/Forward button click.
Has anybody of you implemented such functionality??
Thanks in advance!!!