开发者

ASP.NET:,Will session variables exist when Application_Error method being called from global.asax?

开发者 https://www.devze.com 2022-12-17 07:46 出处:网络
In ASP.NET ,Will sess开发者_运维问答ion variables exist when Application_Error method being called from global.asax ?Can i access values of my session variables there ?I think it depends on whether or

In ASP.NET ,Will sess开发者_运维问答ion variables exist when Application_Error method being called from global.asax ?Can i access values of my session variables there ?


I think it depends on whether or not the error occurs before or after the AcquireRequestState event is raised. This is the point in which the Session can be identified for a given request.

0

精彩评论

暂无评论...
验证码 换一张
取 消