asp.net - How do I generate a 404 error from an HttpModule? -
I have an ASP.NET HTTP module, which is HTTPPAP. Generally I will do something as requested, by typing a file on HttpContext.Current.Response.OutputStream then call HttpApplication.CompleteRequest (). I did not find the relevant file for some requests - how do I return a 404 error?
You tried to get the new HTTP access (404, "not found"); ?
Comments
Post a Comment