Number of Users/Sessions on the web site.

G

GregO

Hi,
I would like to find out how many sessions are currently active for my web
site. I can't add any counters to the session start event , is there a way
to access the ASP.NET engine and find this information out? Or is there
other ways?

Kind regards
Greg
 
G

GregO

Hi Patrick,
Thanks for the link. But I am unable to use this type of method as I will
have not access to the application or session blocks. I need to find out
the number of session from a WebControl

Any other help?

Greg O
 
H

Hans Kesting

Hi Patrick,
Thanks for the link. But I am unable to use this type of method as I will
have not access to the application or session blocks. I need to find out the
number of session from a WebControl

Any other help?

You can access the Application object from anywhere with
System.Web.HttpContext.Current.Application

Hans Kesting
 

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

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top