Hello Mick,
Just crete the handle for the HttpContext.Error and control your errorst
there
see sample there
http://www.codegod.de/WebAppCodeGod/...et-AID375.aspx
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
MWI am interested in creatign a httpmodule that will log all IIS
MWrequests to SQL Server.
MW>
MWI am just wondering, how would I be able to log bad requests such as
MW404 etc? Would I have to change the custom error page to a page that
MWcould alert my httpmodule?
MW>
MW
http://www.mick-walker.co.uk
MW>