开发者

Get Total Active ASP.NET Session Count via WMI

How can I get a count of the total number of active ASP.NET sessions via WMI? 开发者_开发技巧I'm using ASP.NET 4.0 on Windows Server 2008 R2.


use the WMI query - "Select SessionsActive from Win32_PerfRawData_ASPNET_ASPNETApplications"

Edit - included link on accessing remote machines

This should answer the comment on remote machines,

http://msdn.microsoft.com/en-us/library/ms257337(v=vs.80).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜