Why Global.asax is used?
Answers were Sorted based on User's Feedback
Answer / lalit
Global.asax file is used for storing values at session
level and Application level.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / abhishek maitrey
Global.asax is a file, as the name suggests that resides in
the root directory (in the global area) of your
application. It is inaccessible over the web but is used by
the ASP.NET application if it is there. It is a collection
of event handlers that you can use to change and set
settings in your site. The events may occur from one of two
places - The HTTPApplication object and any HTTPModule
object that is specified in web.config or machine.config.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / srujana
To implement application and session level events, the
Global.asax is used.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / suresh
The Global.asax file, also known as the ASP.NET application
file, is an optional file that contains code for responding
to application-level events raised by ASP.NET or by HTTP
modules.
For More information Visit..
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/cpgenref/html/cpconGlobalasaxSyntax.asp
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / shailesh thapa
It is an optional application level file and at the compile
time be converted in a class inheriting the HttpApplication
class and it keeps the event handlers for the session and
application.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gurvinder singh
Global.asax file is used for storing values at session
level and Application level.
Is This Answer Correct ? | 0 Yes | 2 No |
Explain difference between dataset and recordset?
What are the Application_Start and Session_Start subroutines used for?
Which is better php or asp.net?
Where session variables are stored?
can i call the java script to code behind file?if yes how?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
What are the differences between application object and session object?
Explain Areas in MVC?
Web API supports which protocol?
Explain what a diffgram is and a good use for one?
1 Answers Siebel Systems, Syntax Softtech,
What is content page in asp net?
what is caching?