protected void Page_Load(object sender, System.EventArgs e)
{
check_Login();
}
public void check_Login()
{
if ((Session["UserName"] == null))
{
Response.Write("<script>alert('还未登录');parent.location.href=login.aspx';</script>");
Response.End();
}
}
最简单的调用
最新推荐文章于 2024-08-26 15:33:00 发布
8917

被折叠的 条评论
为什么被折叠?



