G
Guest
Hi , I thought it's simple ,but end up come here for help(as lots of other
times). --I have several HttpModule added in the root thru web.config, but I
want to remove some and add some new ones in one of sub folder. It is not
fancy virtual folder, but simple sub folder. After create a web.config in the
subfolder,
<system.web>
<httpModules>
<clear />
</httpModules>
</system.web>
and use one of the pages in the subfolder to list
Context.ApplicationInstance.Modules collection, it always give me the full
list that I setup in the root web.config.
I don't know if this is by design in asp.net2 or something I did wrong which
is really hard to find since the scenario is so simple. I guess you may know
the answer.
Thanks a lot if you can put any comment here.
times). --I have several HttpModule added in the root thru web.config, but I
want to remove some and add some new ones in one of sub folder. It is not
fancy virtual folder, but simple sub folder. After create a web.config in the
subfolder,
<system.web>
<httpModules>
<clear />
</httpModules>
</system.web>
and use one of the pages in the subfolder to list
Context.ApplicationInstance.Modules collection, it always give me the full
list that I setup in the root web.config.
I don't know if this is by design in asp.net2 or something I did wrong which
is really hard to find since the scenario is so simple. I guess you may know
the answer.
Thanks a lot if you can put any comment here.