total number of sessions open for an application

Discussion in 'ASP .Net' started by Maziar Aflatoun, Dec 30, 2003.

  1. Hi,

    Is it possible using 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 to see how many sessions are open for
    a particular application?

    Thank you
    Maziar Aflatoun
    Maziar Aflatoun, Dec 30, 2003
    1. Advertisements

  2. 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.
    Steve C. Orr [MVP, MCSD], Dec 30, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.