
protected void Page_Load(object sender, EventArgs e)
{
if (Session["友敬uname"] == null || Session["uid"] == null)
{
Response.Redirect("loginFail.aspx"举袜);
}
else
{
this.Label1.Text="好答慎欢迎您,"+Server.UrlDecode(Session["uname"].ToString());
}
}
学习 顶上
试试下面的代码吧