摘要:
Code 1 //实现IHttpModule接口 2 public class HttpUploadModule : IHttpModule 3 { 4 public HttpUploadModule() 5 { 6 7 } 8 9 public void Init(HttpApplication application) 10 { 11 //订阅事件 12 application.BeginRequest += new EventHandler(this.Application_BeginRequest); 13 } 14 15 public void Dispose() 16 { 17 } 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.IO;public partial class _Default : System.Web.UI.Page { prot 阅读全文