I\'ve created a very simple multiuser game for learning purposes.
As users log on, each other user gets an update of all currently logged in users.
When a us
if you used html5 socket connections as your way of connecting to the server, your socket server script would know when a subscriber disconnects. this would also allow you to push data to all the clients in real time without long polling. the only problem is I don't know what the support of html5 sockets is at the moment. I have done something similar using Flash, which also supports socket connections.