473,238 Members | 1,757 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,238 software developers and data experts.

No of users ?

PW

Hi,

I'm hosting a couple of ASP applications on my server. How can I tell the
number of users currently logged on, and can I get any details about them ?

Thanks,
PW

May 27 '06 #1
8 1241

"PW" <pw***@SPAMbigpond.net.au> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...

Hi,

I'm hosting a couple of ASP applications on my server. How can I tell the
number of users currently logged on, and can I get any details about them
?


Depends on how you authenticate. Do you have them anonymously access the
site? Or do you use a database login? Or do you use clear text
authentication?

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

May 27 '06 #2
PW wrote:
Hi,

I'm hosting a couple of ASP applications on my server. How can I
tell the number of users currently logged on, and can I get any
details about them ?
Thanks,
PW

http://www.aspfaq.com/show.asp?id=2491
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 27 '06 #3
Hi,

You can keep track of your users by creating an application level
variable and incrementing it whenever a user calls the page.Get user's
session id and check for it when the page is called, if its different
then increment the variable's value. then you can keep that value in a
text file or in database.

Its so simple. right :)

May 27 '06 #4
vicky wrote:
Hi,

You can keep track of your users by creating an application level
variable and incrementing it whenever a user calls the page.Get user's
session id and check for it when the page is called, if its different
then increment the variable's value. then you can keep that value in a
text file or in database.

Its so simple. right :)


wrong

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 27 '06 #5
Bob Barrows [MVP] wrote:
vicky wrote:
Hi,

You can keep track of your users by creating an application level
variable and incrementing it whenever a user calls the page.Get
user's session id and check for it when the page is called, if its
different then increment the variable's value. then you can keep
that value in a text file or in database.

Its so simple. right :)


wrong

Oops, forgot to add the smiley
:-)

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 27 '06 #6
Hi Bob,

Can you tell me why is it wrong???

Vicky

:-)

May 29 '06 #7
vicky wrote:
Can you tell me why is it wrong???


Because sessions are stateless.

Since they are stateless, you have no idea when a user leaves the site, so
there is no realistic way to ACCURATELY measure the number of users
"currently logged in".


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
May 29 '06 #8
vicky wrote:
Hi Bob,

Can you tell me why is it wrong???

Vicky

:-)


The article I cited in my first reply explains it. Dave did it in fewer
words, but that's the point that makes it harder than simply storing the
data in application.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 29 '06 #9

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

Similar topics

4
by: zsh-users-help | last post by:
Hi! This is the ezmlm program. I'm managing the zsh-users@sunsite.dk mailing list. To confirm that you would like python-list@python.org removed from the zsh-users mailing list, please send...
6
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
5
by: Andy Davis | last post by:
I have a two tables, Users and Requests, the latter which displays the daily log on's of 20 users. Both tables are related by a one-to-many relationship in the Requests table via the UserId field....
3
by: mgPA | last post by:
Short: How can I limit the number of concurrent logins to Access (2000) DB? Long: I seem to be having the problem discussed in previous postings of having more than 9 or 10 concurrent logins. ...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
6
by: google | last post by:
I have a few general questions. I am working on a new database to be used within my company. I would like to give a couple of people, particularly HR, the ability to add and delete Access users,...
5
by: profdotnet | last post by:
Below is the code of web.config file: <configuration> <system.web> <authentication mode="Forms" /> <authorization> <allow users="Admin"/> <deny users="Jack,Mary" /> <deny users="?">...
1
by: cefrancke | last post by:
I have a Back End database (split) that is on a smokin' hot machine (dual processor, 2 gig RAM, XP Pro SP2) and I'm getting an error that says the database (back end file) is "opened exclusively"...
2
by: Vayse | last post by:
1) How do I get a list of all users in a domain? I've searched the web, but any sample I've found seems to use VB 2003 or earlier. Is there any samples that user 2005, and make full use of the My...
9
by: Jonathan Wood | last post by:
I've spent days trying to come up with a solution. I'd appreciate it if anyone can help. My site requires all users to log on. There are three different roles of users, and each user type will...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.