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

and in a similar vein the same goes for custom error redirection

rvj
3. does the use of custom errors such as invalid directory (404) etc have a
miminal impact on server resources or it is significant

4. ... and are there any easy ways to monitor/measure/compare ?
Aug 10 '08 #1
4 1500

"rvj" <rv*@rolemodels.netwrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
3. does the use of custom errors such as invalid directory (404) etc have
a
miminal impact on server resources or it is significant
Thats not easy to answer because

1. The question isn't that clear (when a 404 happens the server has to do
something anyway)
2. In normal circumstances errors would be rare hence performance impact
would not be a consideration

4. ... and are there any easy ways to monitor/measure/compare ?
Don't know of 'easy' ways, although your definition of 'easy' may differ
from mine.

Putting it all together you are considering sending images using a Custom
404 hack. Its much more expensive than allowing IIS to serve up the images
itself.
--
Anthony Jones - MVP ASP/ASP.NET
Aug 10 '08 #2
rvj

I was thinking in terms of having virtually having no directory structure
to speak of so virtually all requests would be via custom redirection to a
database or some other routing technology

"Anthony Jones" <An*@yadayadayada.comwrote in message
news:ug****************@TK2MSFTNGP02.phx.gbl...
>
"rvj" <rv*@rolemodels.netwrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
>3. does the use of custom errors such as invalid directory (404) etc
have
a
>miminal impact on server resources or it is significant

Thats not easy to answer because

1. The question isn't that clear (when a 404 happens the server has to do
something anyway)
2. In normal circumstances errors would be rare hence performance impact
would not be a consideration

>4. ... and are there any easy ways to monitor/measure/compare ?

Don't know of 'easy' ways, although your definition of 'easy' may differ
from mine.

Putting it all together you are considering sending images using a Custom
404 hack. Its much more expensive than allowing IIS to serve up the
images
itself.
--
Anthony Jones - MVP ASP/ASP.NET


Aug 10 '08 #3
"rvj" <rv*@rolemodels.netwrote in message
news:ek****************@TK2MSFTNGP05.phx.gbl...
>
I was thinking in terms of having virtually having no directory structure
to speak of so virtually all requests would be via custom redirection to
a
database or some other routing technology


Funny that I've just this minute been discussing that in the iis group (see
subject ' custom 404 page headers problem' started by 'Simon')

Also in this group 'Detecting if modified since in Classic Asp' started by
'Simon'

However I don't need either of these threads to say: Don't do it, its just
plain mad.

At least not in this way (using the 404 hack).

Instead get yourself a freebie ISAPI URL rewriter and do it that way.

--
Anthony Jones - MVP ASP/ASP.NET
Aug 10 '08 #4
rvj
thanks for the advice

PS this is where I came in

"Anthony Jones" <An*@yadayadayada.comwrote in message
news:OM****************@TK2MSFTNGP02.phx.gbl...
"rvj" <rv*@rolemodels.netwrote in message
news:ek****************@TK2MSFTNGP05.phx.gbl...
>>
I was thinking in terms of having virtually having no directory
structure
to speak of so virtually all requests would be via custom redirection to
a
>database or some other routing technology



Funny that I've just this minute been discussing that in the iis group
(see
subject ' custom 404 page headers problem' started by 'Simon')

Also in this group 'Detecting if modified since in Classic Asp' started by
'Simon'

However I don't need either of these threads to say: Don't do it, its
just
plain mad.

At least not in this way (using the 404 hack).

Instead get yourself a freebie ISAPI URL rewriter and do it that way.

--
Anthony Jones - MVP ASP/ASP.NET


Aug 10 '08 #5

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

Similar topics

5
by: Jerry | last post by:
Hi All I would very much appreciate your help: I have two scripts alternating in the background triggering themselves mutually. Here is how: 1.) Script A does something and then calls Script...
6
by: Tsai Li Ming | last post by:
Dear all, I have a problem with a redirecting stdout and stderr. I am a top level module and has no control over the imported modules that are making system calls such as os.system or popen2.* ....
4
by: Bill Cohagan | last post by:
I'm writing a console app in c# and am encountering a strange problem. I'm trying to use redirection of the standard input stream to read input from a (xml) file. The following code snippet is from...
0
by: Anonieko Ramos | last post by:
Answer. Use IHttpHandler. thanks Ro ry for coming up with this code. It processes css file to add variables. neat idea using System; using System.IO; using System.Text; using...
3
by: Mr Newbie | last post by:
I'm testing error handling configurations and having some trouble. I created a WebForm called. ErrDefault.aspx and I am trying to use the Page error attribute to force the redirection to a custom...
0
by: comp.lang.php | last post by:
I have a form that when you click the "Generate Report" submit button, it will force download a CSV file, required for this project. On the very same page you also have a "Search" submit button,...
17
by: Lee Harr | last post by:
I understand how to create a property like this: class RC(object): def _set_pwm(self, v): self._pwm01 = v % 256 def _get_pwm(self): return self._pwm01 pwm01 = property(_get_pwm, _set_pwm)
5
by: rote | last post by:
I'm using ASP.NET 2.0 and i have copied and pasted the code below to my Global.asax file but it desn't trap the error I want to trap the 401 access denied void Application_Error(object sender,...
9
by: Nick | last post by:
Hi there, I would like to perform something like the following from my vb.net web service, being invoked via HTTP Post Call HttpContext.Current.Response.Redirect("myprotocol://myurl") ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.