Hi all, I'm looking for general ideas and a "right way" to do something. I know a couple ways to do it, but they all seem pretty poor. I'm about to publish an ActiveX version of Hamsterball. What I want to know at any given time is, how many people are playing it at a given time? The first thing that springs to mind is, fire off an http request when the game starts, and another when the game ends. One increments a counter, the other decrements it. Fairly easy, right? The snarl here, though, is what if someone turns off their computer while playing? Boom, instant perma-count. So, any suggestions? I'd love to do it with a PHP or other method, hitting "onload" or something.