473,395 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Number of Users/Sessions on the web site.

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
Feb 2 '06 #1
3 1265
Greg see one of the ways to do it here:
http://aspnet101.com/aspnet101/tutorials.aspx?id=16
Hope that helps
Patrick

"GregO" <gr***@comm.com> wrote in message
news:u6****************@TK2MSFTNGP11.phx.gbl...
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

Feb 2 '06 #2
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
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Greg see one of the ways to do it here:
http://aspnet101.com/aspnet101/tutorials.aspx?id=16
Hope that helps
Patrick

"GregO" <gr***@comm.com> wrote in message
news:u6****************@TK2MSFTNGP11.phx.gbl...
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


Feb 3 '06 #3
> 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
Greg O
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Greg see one of the ways to do it here:
http://aspnet101.com/aspnet101/tutorials.aspx?id=16
Hope that helps
Patrick

"GregO" <gr***@comm.com> wrote in message
news:u6****************@TK2MSFTNGP11.phx.gbl...
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


Feb 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Phil Powell | last post by:
http://codewalkers.com/seecode/75.html http://www.webkreator.com/php/concepts/counting-users-online-with-php.html The following two URLs illustrate different approaches to the idea of showing...
19
by: Jeff Clark | last post by:
Hiya! How would i get this number? thanks!
3
by: Philip Tepedino | last post by:
I'm having an odd problem. My website's session state is getting shared between users! This problem only happens when a user tries to access the site from inside our corporate LAN. The user,...
6
by: Esref DURNA | last post by:
how I could count the number of online users with asp .net? which complement should i use?
2
by: Lenn | last post by:
Hello, This requirement might seem strange to someone out there, but here it's We need to make sure only certain number of users can be logged in the site at the same time. Is there any way to...
5
by: TheOne | last post by:
Hi I am trying to display on a web page number of visitors on the site. I am doing this by increasing +1 in global.asax on Session_start and subtracting -1 on Session_end. I am storing value in the...
15
by: dee | last post by:
Hi, What is the maximum number of minutes for Session timeout that I can specify in web.config? Thanks. Dee
2
by: mktselvan | last post by:
Hi, Existing running oracle application 11i (11.5.8) Database version is 8.1.7.4 There is any command / way to know the number of concurrent users for this application. ...
8
by: Mike P | last post by:
What would be the best way of counting the number of users who are currently logged on to a website? I am making the users login against a database of valid users. Would the best way be to add a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.