title: Get number of concurrent users online - ASP.NET
body: <p>I would like to know the number of users logged into my ASP.NET 2.0 application.</p>
  
  <p>Points to be considered:
  1) Simplest way would be to use Application or Cache object to have the counts on Session start or end. However this would fail if there is a worker process recycle. Wouldn't it?</p>
  
  <p>2) Should't make a difference whether the session is inproc/state server managed/ or SQL server managed.</p>
  
  <p>3) Should preferably be seamless to a web-farm architecture.</p>