Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the role of global.asax?

Answer Posted / samantha jyesta

The Global.asax file is an optional file and can be stored
in root directory. This File is in accesible for web-sites.
This Global.asax file contained in HttpApplicationClass.
In Global.asax file we can declare global variables like for
example the variables used in master pages because same
variables can be used for different pages right.It provides
more security than others.
The Global.asax file is used to handle application-level
and session-level events.
we donot worry about configuring Global.asax because it is
itself configured.
This Global.asax file is designed like it
automatically rejects the requests comes from the browser.
Accessing the Global.asax file can not be possible.
while one request is in processing it is impossible to
send another request, we can not get response for other
request and even we can not start a new session.
while adding this Global.asax file to our application
it contains five methods
Those methods are:
1.Application_Start.
2.Application_End.
3.Session_Start.
4.Session_End.
5.Application_Error.

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the Custom controls in asp.net?

1086


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

1088


What is server redirect?

1033


Can you nest updatepanel within each other?

1045


If we remove web.config or machine.config from the application then, is this application will works?

1070


What are sharepoint pages?

954


What do you mean by authentication?

1120


What is base class of .net?

1011


What are the main advantages of using asp.net?

1090


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

1154


What is connection pooling and how to enable and disable connection pooling?

1077


How to fetch a data from one table to another table in asp.net ?

1091


What is postback and autopostback in asp.net?

1063


What do you understand from custom control?

1174


How can you identify that the page is post back?

1061