tags:

views:

42

answers:

2

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

A: 

Here's a good article on MSDN: http://technet.microsoft.com/en-us/library/cc730608%28WS.10%29.aspx

Andy White
A: 

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.

JoeGeeky