62,046
社区成员
发帖
与我相关
我的任务
分享
namespace WebLibrary.Modules
{
public class MSNModule : IHttpModule
{
/// <summary>
/// You will need to configure this module in the Web.config file of your
/// web and register it with IIS before being able to use it. For more information
/// see the following link: http://go.microsoft.com/?linkid=8101007
/// </summary>
#region IHttpModule Members
public void Dispose()
{
//clean-up code here.
}
public void Init(HttpApplication app)
{
app.BeginRequest += app_BeginRequest;
}
void app_BeginRequest(object sender, EventArgs e)
{
}
#endregion
}
}
<httpModules>
<add name="MSNModule" type="WebLibrary.Modules.MSNModule"/>
</httpModules>