Amit
Amit

Reputation: 22086

Which event fires every time in ASP.NET

I know that Global.asax 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.

Upvotes: 4

Views: 4287

Answers (2)

Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

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

Upvotes: 3

Pankaj Agarwal
Pankaj Agarwal

Reputation: 11309

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

Upvotes: 8

Related Questions