473,396 Members | 2,030 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,396 software developers and data experts.

How many users connected to IIS?

Is there a way to programatically tell how many users are connected to IIS
with c#?
Or maybe some API?

I don't want to restrict a certain amout of users, just restrict some
features.

Thanks in advance.
Sid S.

Nov 17 '05 #1
2 2599
You could use an application level variable (assuming when you say IIS you
are refering to just a specific app on the server) and increment/decrement
when the session starts and stops.

Keep in mind that there is probably no way of knowing if the user is still
connected other then waiting for the session to die. Which means that if
the user accesses just one page, then walks away, the server will still
think the user is active for like 20 minutes.

"Sid S." <Si**@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
Is there a way to programatically tell how many users are connected to IIS
with c#?
Or maybe some API?

I don't want to restrict a certain amout of users, just restrict some
features.

Thanks in advance.
Sid S.

Nov 17 '05 #2
Read PerfMon logs?

"Sid S." <Si**@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
Is there a way to programatically tell how many users are connected to IIS
with c#?
Or maybe some API?

I don't want to restrict a certain amout of users, just restrict some
features.

Thanks in advance.
Sid S.

Nov 17 '05 #3

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

Similar topics

0
by: Giuseppe | last post by:
Hello.. I hope someone could help me here... I've installed a phpbb forum and the mod char pjirc. I'm using IRC server irc.blitzed.org and a custom channel. Is it possibile to read via php o js...
2
by: Ed Swartz | last post by:
I installed SP4 for Windows 2000. Prior to the upgrade my system was at SP3 and I was able to run ASP scripts from my browser just fine. For exmaple: ...
4
by: Ryan McMinn | last post by:
Is there a utility that will allow me to see what users on my network are connected/active on SQL server? Ryan
2
by: MichaelB | last post by:
When I try logging into my web app using local host I am getting the "HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services". The thing is I do not have 10 users...
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....
6
by: pnp | last post by:
Hi all, from computer management|shared folders|sessions I can see all the users in a network that are connected to my PC and how many open files they have. Is there a way to monitor this through...
3
by: E. W via DotNetMonster.com | last post by:
Hi all, is it possible to get the numer of users, who are connected at the same time to the specified SQL Database and how do I get this Information? thanks EW -- Message posted via...
1
by: esource | last post by:
We have a existing backup, re-index job that runs at night on an existing database that is now accessed by web users 24/7. Problem is that one of the steps is to kill all users before backup...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.