Im trying to figure out how to make a script that will display what users are logged in to my site at any given time. Now, when someone logs in, their session is registered and I realize I can query mysql at this time but Im having a hard time figuring out how I can trigger a query when a session is ended by simply closing the browser window. Any help? I hope that made sense.
SPIRALHEAD.NET