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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -