get the app get the app       get the app       get the app
Please briefly explain the usage of Global.asax?

  • : 330
  • : 4
    Previous Next

    Global.asax is basically ASP.NET Application file. It’s a place to write code for Application-level events such as Application start, Application end, Session start and end, Application error etc. raised by ASP.NET or by HTTP Modules.

    There is a good list of events that are fired but following are few of the important events in Global.asax:

    Application_Init occurs in case of application initialization for the very first time.
    Application_Start fires on application start.
    Session_Start fires when a new user session starts
    Application_Error occurs in case of an unhandled exception generated from application.
    Session_End fires when user session ends.
    Application_End fires when application ends or time out.

    you can suggest other answer in comment box

  • Exam: ASP .NET Interview Questions

    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material