protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["lx"] == "1") { //do logout AdminUtil.Logout(); Response.Redirect("~", true); } }