G
Guest
Hi,
I have a situation like this:
wwwroot has a web.config file that adds a custom http module
<httpModules>
<add name="MyModue" type="MyType,MyAssembly" />
</httpModules>
This works wonderfully.
Problem is I have another directory under wwwroot that has this in the
web.config file located there.
<httpModules>
<remove name="MyModule" />
</httpModules>
If I call a page in wwwroot the http module runs and all is well. If I call
a page in the subdirectory that I would expect the http module not to run but
it does run.
Any ideas in what I am doing wrong?
I have a situation like this:
wwwroot has a web.config file that adds a custom http module
<httpModules>
<add name="MyModue" type="MyType,MyAssembly" />
</httpModules>
This works wonderfully.
Problem is I have another directory under wwwroot that has this in the
web.config file located there.
<httpModules>
<remove name="MyModule" />
</httpModules>
If I call a page in wwwroot the http module runs and all is well. If I call
a page in the subdirectory that I would expect the http module not to run but
it does run.
Any ideas in what I am doing wrong?