摘要:
今天在工作编写代码时,在IHttpHandler的父类中使用了Session,在后台代码中调用该Session,但是抛出异常说该Session是Null,在网上查询相关资料说必须继承借口:IReadOnlySessionState 或 IRequiresSessionState,必须应用System.Web.SessionState命名空间 IHttpHandler: // Summary: // Defines the contract that ASP.NET implements to synchronously process HTTP // W... 阅读全文