Hello everyone,
I am using ASP.Net + .Net 3.5 + VSTS 2008 + IIS 7.0 + C# to develop a web application. I want to count how many users are online. This is my current implementation,
- when Session_Start is called, I will increase # of users online by 1;
- when Session_End is called, I will descrease # of users online by 1.
Two quesitons,
A Is that implementaiton correct?
B. Another question is, I think this method can not track # of users of real time, since when user closes the browser, Session_End will not be called immediately (Session_End will be deferred to be called). Correct?
thanks in advance, George