Reputation: 1950
If I wanted to see if there are any users currently on my web site, how would I go about doing this? (Excluding netstat) The server is Win Server 2008/IIS 7
Thanks Kevin
Upvotes: 1
Views: 3113
Reputation: 3796
The IIS Performance Counters and IIS Logs are really the best guage for this, but a simple trick is to write an HTTPModule that keeps a hashtable of recent activity. This can simply keep a list of user ids (if they are authenticated), last accessed time, page requested, etc... This could be visuaized with a simple AXD path.
Upvotes: 1