Custom Http Module
-
Hi... I have two Custom HttpModules in a .net application. Can I override the BeginRequest event of IHttpModule in both custom HttpModules?
your peter
-
Hi... I have two Custom HttpModules in a .net application. Can I override the BeginRequest event of IHttpModule in both custom HttpModules?
your peter
-
Hi... I have two Custom HttpModules in a .net application. Can I override the BeginRequest event of IHttpModule in both custom HttpModules?
your peter
Those are events, just place appropriate handlers. Actually if you see any httpmodule you will see we generally we always handle those events. Use
application.BeginRequest += (new EventHandler(this.Application_BeginRequest));
Place this in Init. Cheers :cool:Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Windows7 API Code Pack
Simplify Code Using NDepend
Basics of Bing Search API using .NET