C#判断管理员是否已经登陆了系统

/*判断管理员是否已经登陆了系统*/

1 if (Session["adminFlag"] == null)
2 {
3 Response.Write("<script>top.location.href='../login.aspx';</script>");
4 return;
5 }

原文地址:https://www.cnblogs.com/llyfe2006/p/1708924.html