摘要:
login.aspx文件(刷新页面)或(只刷新验证码)login.aspx.cs文件if (Request.Cookies["ValidateCookie"].Values["Chcode"].ToString().ToLower() == this.txtCode.Text.Trim().ToString().ToLower()) { ... }valicode.aspx.cs文件protected void Page_Load(object sender, EventArgs e) { string chcode = ""; // 阅读全文