在该一般处理程序中 添加引用:
using System.Web.SessionState;
给该类添加 接口:
public class AddArticle : IHttpHandler,IRequiresSessionState
在该一般处理程序中 添加引用:
using System.Web.SessionState;
给该类添加 接口:
public class AddArticle : IHttpHandler,IRequiresSessionState
转载于:https://www.cnblogs.com/ysh2012/archive/2012/09/05/2671507.html