I'm trying to figure out how one would detect whether a web-page is in use. I am building a kind of web-appliance which has an HTML5 RDP client type thing. I need to detect whether the page is currently in use, if possible a specific url including a GET variable. I have searched every variation that I can think of for doing this and have come up with the following, but none seem to work for me.
Pretty much my goal is to make a change in a mysql DB whenever a the page is active, then change it back when it's not.
Any suggestions are greatly appriciated!!!!