今天在ashx文件中调用session中的值,老是报"引发了“System.PlatformNotSupportedException”类型的异常",后来发现看了“http://topic.csdn.net/u/20090817/01/cae2b5a6-790c-4dbb-822a-15a8cbeeb6c9.html”帖子,发现“在.ashx文件中要继承接口IReadOnlySessionState, IRequiresSessionState”
问题解决!
今天在ashx文件中调用session中的值,老是报"引发了“System.PlatformNotSupportedException”类型的异常",后来发现看了“http://topic.csdn.net/u/20090817/01/cae2b5a6-790c-4dbb-822a-15a8cbeeb6c9.html”帖子,发现“在.ashx文件中要继承接口IReadOnlySessionState, IRequiresSessionState”
问题解决!