我最早何时可以访问global.asax中的某些会话数据? [英] When's the earliest i can access some Session data in global.asax?

查看:67
本文介绍了我最早何时可以访问global.asax中的某些会话数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检查会话是否在我的global.asax中包含一些键/值数据.我不确定最早的时间(和方法名称)何时进行检查.

i want to check if the Session contains some key/value data, in my global.asax. I'm not sure when the earliest possible time (and method name) is, to check this.

谢谢:)

推荐答案

我一直认为Application_AcquireRequestState是Global.asax中第一个可以访问当前会话的事件.绝对不是Application_BeginRequest.

I always believed Application_AcquireRequestState was the first event in Global.asax that could access the current session. It's definitely not Application_BeginRequest.

这篇关于我最早何时可以访问global.asax中的某些会话数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆