asp.net .ashx一般处理程序中使用Session和Request
在ashx一般处理程序文件中如需使用session和request
1、引用System.Web.SessionState 命名空间;
2、在HttpHandler中实现IReadOnlySessionState(只读)或者IRequiresSessionState(读写)接口。
在ashx一般处理程序文件中如需使用session和request
1、引用System.Web.SessionState 命名空间;
2、在HttpHandler中实现IReadOnlySessionState(只读)或者IRequiresSessionState(读写)接口。