<httpModules></httpModules>的使用

使用格式如下:
<httpModules>
   
<add type="classname,assemblyname" />
   
<remove/>
   
<clear/>
</httpModules>
我项目中简单的实例:
<system.web>
      
<httpModules>
            <add name="NHSession" type="Ldc.NHibernateSessionHelper.SessionManager, NHibernateSessionHelper" />
      
</httpModules>
</system.web>
posted @ 2009-08-13 18:02  yangan-wu2008  阅读(1863)  评论(0编辑  收藏  举报