javascript - saving logout time when the user close the browser -
In my project I want to save the logout time in my DB when the user closes the browser (X button, file- > And gt; exit, right click -> exit, shift F4); I am using JavaScript to handle events with On-On -Load but I also have questions with this event back, forward, refresh events: is there any way to leave those events or to get it Any other way?
Javascript is restricted to existing window objects, so it does not allow you to access something else .
Comments
Post a Comment