Friday 29 March 2019

How to get a timestamp when user closes the browser and query to DB

I've created an app and want to keep track of when the user logs in and out. When the user logs in, a timestamp is sent to the db, same for when the user logs out, but how do I go about doing the same thing when the user closes the browser?

Submitted March 29, 2019 at 04:48PM by ortz3

No comments:

Post a Comment