Sunday, May 25, 2014

Global.asax Interview Questions on ASP.Net(4)



Global.asax Interview Questions on ASP.Net(4)

 
1. What is the use of the Global.asax file?

A.The Global.asax file executes application-level events and sets application-level variables.

2.How many Global.asax files can be there in single Website?

A.One

3.What are the different types of Global.asax?

A.Application_Start
    Application_End
    Session_Start
    Session_End
    Application_BeginRequest
    Application_AuthenticateRequest
    Application_Error

4.What are the Application_Start and Session_Start subroutines used for?

A.This is where you can set the specific variables for the Application and Session objects.

0 comments:

Post a Comment