Registering global HttpModule
-
Hi ! I need to create the HttpModule that will work not for specific application, but rather for the whole site, like ISAPI filter defined on the Web Site level. How I can register it without application, and hence without web.config? Seems to be simple question, but I burned away enough time looking for the answer in the internet (including CP site) with no luck. All examples end up in application and it's web.config. May be it is evident, and I simply too dumb to see it? Thanks in advance. Regards, Gennady
My English is permanently under construction. Be patient !!
-
Hi ! I need to create the HttpModule that will work not for specific application, but rather for the whole site, like ISAPI filter defined on the Web Site level. How I can register it without application, and hence without web.config? Seems to be simple question, but I burned away enough time looking for the answer in the internet (including CP site) with no luck. All examples end up in application and it's web.config. May be it is evident, and I simply too dumb to see it? Thanks in advance. Regards, Gennady
My English is permanently under construction. Be patient !!
hi You should know how the native asp.net httpmodules were registered to the websites and register your own like them I think that they were registered in Machine.config file Hope to be useful
Mohammad Khansari
modified on Thursday, January 7, 2010 3:11 AM
-
hi You should know how the native asp.net httpmodules were registered to the websites and register your own like them I think that they were registered in Machine.config file Hope to be useful
Mohammad Khansari
modified on Thursday, January 7, 2010 3:11 AM
Hi ! Thanks for your response and sorry for delay - I had no access to the internet. Yes, this is one of methodes that I thought about. Another is - place the short web.config to the root of web site. I'm not sure that any one of these methodes is right, so I wanted to get the "authoritive" answer. I'm new in this field, so when my first HttpModule will fail to work, I'd like to exclude the registration mistakes. At least. Regards, Gennady
My English is permanently under construction. Be patient !!