Get number of concurrent users online - ASP.NET

Posted by Srikanth on Stack Overflow See other posts from Stack Overflow or by Srikanth
Published on 2010-05-03T04:37:38Z Indexed on 2010/05/03 4:48 UTC
Read the original article Hit count: 239

Filed under:
|
|

I would like to know the number of users logged into my ASP.NET 2.0 application.

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?

2) Should't make a difference whether the session is inproc/state server managed/ or SQL server managed.

3) Should preferably be seamless to a web-farm architecture.

© Stack Overflow or respective owner

Related posts about user

Related posts about count