| |||||||||||||||||||||||||
<httpModules> SectionASP.NET Syntax ASP.NET Configuration Sections Configures the HTTP modules within an application. <httpModules>
<add name = "modulename"
type = "classname,assemblyname" />
<remove name = "modulename"
type = "classname,assemblyname" />
<clear />
</httpModules>
The <httpModules> tag supports three subtags.
The <add> subtag supports two attributes.
The <remove> subtag supports two attributes.
Syntax ExampleThe following example adds three HttpModules to the ASP.NET application. <configuration>
<system.web>
<httpModules>
<add type = "System.Web.State.OutputCacheModule"
name = "OutputCache" />
<add type = "System.Web.State.SessionStateModule"
name = "Session" />
<add type=Selector, selector.dll"
name = "Selector" />
</httpModules>
</system.web>
</configuration>
See AlsoASP.NET Configuration HttpModulesSection Class |
| ||||||||||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme