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

To wrap up a call to a Web service the standard used is..?

931


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

957


If you are using components in your application, how can you handle exceptions raised in a component?

2616


What do you mean by query string?

898


How many languages are supported by .NET at present time?

722


Explain the differences between managed and unmanaged code?

973


How do I use response redirect?

934


What are the validation controls available in ASP.NET?

959


Why viewstate is used in asp.net?

980


How can you send an email message from an asp.net web page?

933


What is the function of the ViewState property?

983


What is client side state management?

903


What is simple data binding?

922


What is a session government?

851


Why mvc is faster than asp.net? : Asp.Net MVC

997