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 |
How many types of Stored Procedures in SQL Server
Which is better viewstate or session?
How can we Validate a Controls in ASP.NET page using JavaScript?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
When we are requesting a new URL through Response.Redirect() the new page wil open on the new browser window or it wil open in the same window? If we use Server.Transfer() what wil happen?
difference between <connectionstring> <Appsetting>
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
what are the State management and Its Uses
What are different methods of session maintenance in asp.net?
What is a pixel url?
What are the asp.net list controls and difference between them?
Define repository pattern in asp.net mvc? : asp.net mvc
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)