Error handling for html/image resource

G

Guest

Hi there, I created a httpmodule to handle the exception globally. The only
catch is that it cannot catch any 404 error from html or image.

So I wish someone here could share some lights on this question .Appreciate
any inspiriting thought.
 
B

Bruce Barker

a .net httpmodule can only catch errors by request processed by asp.net. if
you want catch all 404's, you need to map all extentions to asp.net. note
that there is a performance cost for having asp.net serve static content.

-- bruce (sqlwork)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top