当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - HttpHandler session only works at the first request

问题描述:

i am using HTTP Handler to process all AJAX requests, the request works great after logging in but it only works one time, then when i call the same url again the session becomes null, any help ?

网友答案:

I managed to fix this, the cause of the problem is that i was using context.current.session instead of just using context.session within ProcessRequest method, i don't know why but this worked !

分享给朋友:
您可能感兴趣的文章:
随机阅读: