需要添加引用:using System.Web.SessionState;
继承 IRequiresSessionState
public class FinancialGet : IHttpHandler ,IRequiresSessionState
{}
不然 session 读取不到。
需要添加引用:using System.Web.SessionState;
继承 IRequiresSessionState
public class FinancialGet : IHttpHandler ,IRequiresSessionState
{}
不然 session 读取不到。
转载于:https://www.cnblogs.com/request/p/8462920.html