There is no automatic way to get the session count. You must build such a
mechanism manually by utilizing the Session_Start and Session_End events in
your Global.asax. In there you can increment and decrement a counter, array
or collection of some sort to keep track of the sessions.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at
http://www.able-consulting.com
"Brad B." <bb*****@ivis.com> wrote in message
news:2d****************************@phx.gbl...
I am trying to enforce a licence for my web application
based on the number of active sessions. Each time a new
user accesses the app, I want to check this to see if
over the limit.
Unfortunately, Can't find a way to check this in
ASP.NET. Looked at performanceCounters but have not had
any success there.
Anyone got any ideas?
Thanks.