Hi, I am making a website, and in my database I have to say if a user is online or offline, so when they log in, I have to tell the database that they are online and when they log out, I have to say that they are offline, but what if the person closes the browser or the tab, I have a session, when they close the browser, does it fire the end session event in the global, or what can I do, please help.
Thank you!!!!