Does events in global file will execute very time when my page loaded
.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
kare vam13 reputationPosted Oct 21, 2007, 10:47 PM EDT
Application_BeginRequest –raised by every request to the server.
Application_End - Raised immediately before the end of all application instances. Application_Start – raised immediately after the first application is created. This event is guaranteed to occur only once.
Init- Riased immediately after each application instance is created. This event might occur multiple times. You can handle any of these events in the Global.asax file by adding the appropriate subroutine. When the first user makes a request to your web site, the Application_Start event occurs.
The Application_Start event is guaranteed to occur once throught the lifetiome of the application. It's a good practice to initialize global variables.