在ashx一般处理程序文件中如需使用session和request
1、引用System.Web.SessionState 命名空间;
2、在HttpHandler中实现IReadOnlySessionState(只读)或者IRequiresSessionState(读写)接口。
在ashx一般处理程序文件中如需使用session和request
1、引用System.Web.SessionState 命名空间;
2、在HttpHandler中实现IReadOnlySessionState(只读)或者IRequiresSessionState(读写)接口。
转载于:https://www.cnblogs.com/chqyang/archive/2010/02/01/1661131.html