Header.aspx:
当前登录用户:
protected void BtnExit_Click(object sender, EventArgs e)
{
Response.Write("");
}
向页面弹出提示后,跳转到其他页面
StringBuilder Builder = new StringBuilder();
Builder.Append("
Builder.AppendFormat("alert("{0}");", "修改成功!");
Builder.AppendFormat("this.location.href="{0}";", "HotNews.aspx?type=1");
Builder.Append("");
this.Page.ClientScript.RegisterStartupScript(this.GetType(), "",Builder.ToString());
********************下面也是框架嵌入iframe,当用户session丢失时的跳出框架**************
|