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 asp.net security controls?

1172


Which is better php or asp.net?

958


What are the types of session in asp.net?

972


How do you identify that the page is postback?

941


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

2380


What is difference between cookies and cache?

1054


What is difference between Fragment Caching and Page Caching in ASP.NET?

1021


What is web api config?

992


What is protected configuration?

1111


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6650


How do session tokens work?

958


What are the benefits of view state?

950


What are the properties of the eventargs argument when capturing keyboard events?

1085


What are all the various Estimation Techniques available ?

1112


What are the features of asp.net mvc?

1011