一般处理程序中 httpContext.current.session为null的解决办法

在该一般处理程序中 添加引用:

using System.Web.SessionState;

给该类添加 接口:
public class AddArticle : IHttpHandler,IRequiresSessionState

 

posted @ 2012-09-05 10:34  易水寒2012  阅读(290)  评论(0编辑  收藏  举报