protected void Page_Load(object sender, EventArgs e) { string hid = Req.GetForm("hid"); if (hid == "1") { string cmd = Req.GetForm("cmd"); if (cmd == "reg") { Reg(); } Response.Write(msgAjax.ReturnMessage); Response.End(); } if (!this.IsPostBack) { url = Req.GetQueryString("url"); if (url.Length == 0) { url = Req.GetUrlReferrer("/"); } url = Server.UrlEncode(url);//新加 } }
protected void Page_Load(object sender, EventArgs e) { LoginInfo.Exit(); string url = Req.GetQueryString("url"); if (url.Length == 0) { url = Req.GetUrlReferrer("/"); } Response.Redirect(url); }
protected void Page_Load(object sender, EventArgs e) { success_target = Req.GetQueryString("success_target"); url = Req.GetUrlReferrer("/"); if (LoginInfo.banHandler.IsBan()) { isV = "1"; } userName = Req.GetCookies("lastUN"); }
protected void Page_Load(object sender, EventArgs e) { url = Req.GetQueryString("url"); if (url.Length == 0) url = Req.GetUrlReferrer("/"); if ((url == Request.Url.ToString()) || url.IndexOf("reg.aspx") >= 0) { url = "/user/center.aspx"; } //判断是否用户需要输入验证码 if (LoginInfo.banHandler.IsBan()) isV = "1"; userName = Req.GetCookies("lastUN"); }