配置ashx读写session信息

来源:互联网 发布:锁机软件生成器软件 编辑:程序博客网 时间:2024/06/05 15:59

首先要继承System.Web.SessionState.IReadOnlySessionState 的接口;

其中System.Web.SessionState.IReadOnlySessionState为只读会话的接口;

而System.Web.SessionState.IRequiresSessionState为可读可写会话的接口。