摘要: [转 http://www.cnblogs.com/cean/archive/2009/06/01/1493342.html]在checkLogin.cs里有check方法:public static void check(Page aPage) { if (aPage.Session["ok"] == null || aPage.Session["ok"].ToString() != "ok") { aPage.Response.Redirect("login.aspx"); } }在母版页里调用的正确方法:pr 阅读全文
posted @ 2012-09-18 10:55 小师傅 阅读(236) 评论(0) 推荐(0) 编辑