62,074
社区成员
发帖
与我相关
我的任务
分享
protected void lBtn_LogOut_Click(object sender, EventArgs e)
{
Session["User"] = null;
JScript.Alert("成功注销");
Response.Redirect(url);
}
public static void Alert(string message)
{
string js = @"<Script language='JavaScript'>
alert('" + message + "');</Script>";
HttpContext.Current.Response.Write(js);
}
public static void Alertto(string message, string cometo)
{
string js = @"<Script language='JavaScript'>
alert('" + message + "');window.parent.location=' " + cometo + " ';</Script>";
HttpContext.Current.Response.Write(js);
}