开发者

Which event fires every time in ASP.NET

开发者 https://www.devze.com 2023-03-03 02:37 出处:网络
I know that Global.asax开发者_JS百科 has events which fire for an application at a specific time. But I need an event which fires every time the application receives a request.In Global.asax event App

I know that Global.asax开发者_JS百科 has events which fire for an application at a specific time. But I need an event which fires every time the application receives a request.


In Global.asax event Application_BeginRequest fire every time when a page request made.


I think what you are looking for is the Application_BeginRequest event:

Fired when an application request is received. It's the first event fired for a request, which is often a page request (URL) that a user enters.

For more event information, have a look on this article Working with the ASP.NET Global.asax file

0

精彩评论

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

关注公众号