Thursday, February 14, 2013

What is the use of Global.asax file events in asp.net

Posted by Rahul Kharde at 1:18 AM
  • The Global.asax file, also known as the ASP.NET application file.
  • Global.asax is an optional file that contains code for responding to application-level and session-level events raised by ASP.NET or by HTTP modules.
  • It is placed at the root level of an ASP.Net application
  • The Global.asax file can be used either for initializing the application and session state variables or clearing out the memory by destroying all such variables.

The Global.asax file consists of following events that can be handled using it:
  • Application_Init:
  • Application_Start
  • Session_Start
  • Application_BeginRequest
  • Application_EndRequest:
  • Application_AuthenticateRequest
  • Application_Error
  • Session_End
  • Application_End


If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to my regular Email Updates. Subscribe Now!


Kindly Bookmark and Share it:

YOUR ADSENSE CODE GOES HERE

0 comments:

Have any question? Feel Free To Post Below:

 

Popular Posts

Recent Comments

© 2011. All Rights Reserved | Help to understand .Net | Template by Blogger Widgets

Home | About | Top