I have a public web application and need to know (for statistics) how many simultaneous executions occurs. An example would be the equivalent of how many visitors are on a web page or how many users are connected into DB.
I think one way to achieve this is by registering users in a DB on Internet and count the records periodically. The problem with this, if the application loses connection to the Web or the OS crash, the application not send the code to subtract the count, giving false positives.
Please if you can give me a starting point to made this code.
Regards Amigos