摘要:
验证码不用输出太多的HTML代码,直接创建一个一般处理程序,直接上代码 1 public class VCode : IHttpHandler 2 { 3 4 HttpContext context = null; 5 public void ProcessRequest(HttpContext context) 6 { 7 this.context = context; 8 CreateVImage(CreateRandomNum(4)); 9 } 1... 阅读全文