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
What are the asp.net security controls?
Which is better php or asp.net?
What are the types of session in asp.net?
How do you identify that the page is postback?
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?
What is difference between cookies and cache?
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is web api config?
What is protected configuration?
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
How do session tokens work?
What are the benefits of view state?
What are the properties of the eventargs argument when capturing keyboard events?
What are all the various Estimation Techniques available ?
What are the features of asp.net mvc?