日期:2014-05-20 浏览次数:20870 次
if (Request.Cookies["admin"] != null) { Response.Cookies["admin"].Value = null; Response.Cookies["admin"].Expires = DateTime.Now.AddDays(-1); ClientScriptManager csm = this.Page.ClientScript; csm.RegisterStartupScript(this.GetType(), "exit_tip", "alert('您已经安全退出了!');",true); Response.Redirect("../Default.aspx"); }