摘要: 下加 阅读全文
posted @ 2016-04-05 16:59 想念熊小米 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 1 HttpContext.Current.Session["UserID"].ToString();//报错,报Session为Null, 2 3 此时需要添加引用和继承IRequiresSessionState接口。 4 需要引用程序集System.Web的引用 5 using System.Web.SessionState;添加命名空间的引用 6 7 8 pub... 阅读全文
posted @ 2016-04-05 16:05 想念熊小米 阅读(446) 评论(0) 推荐(0) 编辑