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

Security issue calling ddl from Website

Hi all,
I created a website in .Net 2005. I wanted to use Health monitoring to
keep track of the amount of pagerequests coming in. If that number
exceeds a certain value, I want to reroute new users to another page.
Therefore, in my solution I have a project to read the specific
Performance Counter I need. My web.config is set up to call this
function every 10 sec. (using the HeartbeatWebEvent). The performance
counter will not give any values in this setup however.
When I directly read the Performance Counter from my global.asax, I do
get the specific values.
I guess my original setup does not work because another process
initiates the WebEvent but I do not know how to solve it.

Any directions would be appreciated!

Grtx,

Marcel van Oort
..Net developer

Nov 28 '05 #1
3 1058
On 28 Nov 2005 05:17:15 -0800, "Nenefta" <mo*******@hotmail.com>
wrote:
Hi all,
I created a website in .Net 2005. I wanted to use Health monitoring to
keep track of the amount of pagerequests coming in.


To throttle connections I'd suggest changing the IIS configuration.
See the "Performance" tab under website properties and select a value
for "Connections limited to:".

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 28 '05 #2
Thank you for your reply.

I understand I can keep the amount of pagerequests restricted through
IIS configuration. However, we want to let users with an existing
session to be able to always see pages. I want to keep new sessions
from being added untill the storms has gone over.

Furthermore, I would still find it interesting to know how I can
combine Performance Counters and Health Monitoring.

Regards,

Marcel van Oort
..Net developer

Nov 30 '05 #3
On 30 Nov 2005 05:01:12 -0800, "Nenefta" <mo*******@hotmail.com>
wrote:
Thank you for your reply.

I understand I can keep the amount of pagerequests restricted through
IIS configuration. However, we want to let users with an existing
session to be able to always see pages. I want to keep new sessions
from being added untill the storms has gone over.
That can be tough, because it's hard to spot exactly when a user has
ended a session.

Furthermore, I would still find it interesting to know how I can
combine Performance Counters and Health Monitoring.


So you are reading the performance counters when the heartbeat event
fires? That is an interesting alternative to using a server side
timer. I'm not sure why you wouldn't be able to read the perf counter,
perhaps if you share some code we could take a look.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 30 '05 #4

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

Similar topics

32
by: Chung Leong | last post by:
Building web sites with PHP is easy. Building secured web sites--in any language--is hard. The end result is many PHP sites with security issues. I thought therefore it would be a good idea to put...
0
by: Remco | last post by:
Hi, I'm working on a secure webportal, a simple representation of my folders: Root ->Users ->Admins ->Printing If somebody attempts to access a sub folder he or she will be redirected to
3
by: nicholas | last post by:
I use asp.NET dll components on my website. These are managed components, not like asp components that are un-managed. Those who sell these components say that having an asp.Net component in the...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
1
by: Stork via DotNetMonster.com | last post by:
Hi, Just a little background info, I am working on a WinForms program that allows users to have an eletronic version of my catalog, since while they are actually looking at peices they need...
4
by: Paul | last post by:
Hi, I've been struggling with this today, I'm developing a DotNet2.0 website in C# that needs to call a long running data query. Obviously this is a good candidate for an Asynchronous call, so...
1
by: WebServiceSecurity | last post by:
The issue involves the following technologies: - 1. .NET 2.0 Framework 2. WSE2.0 (WS-Security) 3. X.509 certificates 4. BEA Weblogic 8.1.5
15
by: himilecyclist | last post by:
My State government organization has written a PHP/MySQL application which has been in production for about 6 months and has been highly successful. We are now embarking on a similar database...
2
by: JimLad | last post by:
Hi, First of all I didn't design this website, but I have been asked to fix it with the minimum fuss! Website is using .NET on IIS6 with an Excel Interop to produce reports. The website...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.