1
Answer

How to clear the session when the browser tab is closed

Hello,
 
Tried multiple solutions using the javascript onbeforeunload but none has solved my problem.

onbeforeunload event is taking the call everytime when page refresh i.e F5/Ctrl+F5/Ctrl+R / Browser reload.

I can able to achive the solution to handle the F5/Ctrl+F5/Ctrl+R. But, unable to capture the Browser reload event.

Any one is having any thouth that how I can achieve this.
or

Any other way of implementing the solution for this issue. 

Answers (1)