How i can trigger my logout function when the user close the tab or close the window not on reload the window #10432
Unanswered
faran-ahmed1
asked this question in
Help/Questions
Replies: 2 comments
-
window.addEventListener('beforeunload', onBeforeUnload); |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Shyam-Chen it is not working propperlly i try it already many times |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How i can trigger my logout function when the user close the tab or close the window not on reload the window?
Beta Was this translation helpful? Give feedback.
All reactions