使用格式如下:
<httpModules>
<add type="classname,assemblyname" />
<remove/>
<clear/>
</httpModules>
我项目中简单的实例:<add type="classname,assemblyname" />
<remove/>
<clear/>
</httpModules>
<system.web>
<httpModules>
<add name="NHSession" type="Ldc.NHibernateSessionHelper.SessionManager, NHibernateSessionHelper" />
</httpModules>
</system.web>
<httpModules>
<add name="NHSession" type="Ldc.NHibernateSessionHelper.SessionManager, NHibernateSessionHelper" />
</httpModules>
</system.web>