asp.net total number of sessions open for an application

M

Maziar Aflatoun

Hi,

Is it possible using asp.net to see how many people are using a certain web
application. For example I have an application where 20+ users can log in
and use. Is it possible using C#.net to see how many sessions are open for
a particular application?

Thank you
Maziar Aflatoun
 
S

Steve C. Orr [MVP, MCSD]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,526
Members
44,997
Latest member
mileyka

Latest Threads

Top