Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When's the earliest i can access some Session data in 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.

thanks :)

like image 578
Pure.Krome Avatar asked Apr 19 '09 08:04

Pure.Krome


1 Answers

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

like image 83
ddc0660 Avatar answered Nov 10 '22 01:11

ddc0660