Answer Posted / amrit sidhu
The Global.asax file, sometimes called the ASP.NET
application file, provides a way to respond to application
or module level events in one central location. You can use
this file to implement application security, as well as
other tasks.
The Global.asax file is in the root application directory.
While Visual Studio .NET automatically inserts it in all
new ASP.NET projects, it's actually an optional file. It's
okay to delete it—if you aren't using it. The .asax file
extension signals that it's an application file rather than
an ASP.NET file that uses aspx.
The Global.asax file is configured so that any direct HTTP
request (via URL) is rejected automatically, so users
cannot download or view its contents. The ASP.NET page
framework recognizes automatically any changes that are
made to the Global.asax file. The framework reboots the
application, which includes closing all browser sessions,
flushes all state information, and restarts the application
domain.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is an axd file?
What are the modes of updation in an updatepanel?
What is http pipeline in asp.net?
What is server transfer?
What is the difference between CC and BCC?
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
How asynchronous call can be implemented using delegates?
How do you secure your connection string information?
What are the navigation ways between pages available in ASP.NET?
What is sql data source control in asp.net?
Where sessions are stored?
What is server side routing?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
Explain about asp.net 2.0 themes?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?