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
Can the dictionary object be created in client?s scope ?
What are custom controls?
Explain the difference between webfarm and webgardens in .net?
what cut off mark for po's,what questions they asked for interview?
Is asp.net easy to learn?
What is cookieless session id explain in brief?
What is & in a url?
What is meant by server side scripting?
What is the difference between Classic ASP and ASP.Net?
What I need to create and run an asp.net application?
How to you can limit Access to Web API to Specific HTTP Verb?
In which event of the page viewstate is available?
Define managed code and managed data in .net?
What is session handling in a webfarm, how it can work with its limits?
Where can I get the details on migration of existing projects using various technologies to asp.net?