It's as follows, I've made a system where the admin can view the online users at the moment and displace them. So far so good, I have created a variable in the user table in mysql that gets TRUE when the user logs in and FALSE when he flips, the problem is if the user closes the page without moving, since he will be offline but will not do the update for get the value FALSE in the bank.
Any suggestions on what to do?
NOTE: I'm developing in Classic ASP