About Global .asax ?
Answers were Sorted based on User's Feedback
Answer / nihar
Global.asax is a file that resides in the root directory 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 can come from one of
two places - The HTTPApplication object and any HTTPModule
object that is specified in web.confg or machine.config. We
will be covering both here.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / sathish
it contains 7 events....
1.Application start
2.Application End
3.Session on start
4.Session on end
5.Session on Request
6.Application on Begining request
7.Application on Error
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / dilshad
The Global.asax file (also known as the ASP.NET application
file) is an optional file that is located in the
application's root directory and is the ASP.NET counterpart
of the Global.asa of ASP. This file exposes the application
and session level events in ASP.NET and provides a gateway
to all the application and the session level events in
ASP.NET. This file can be used to implement the important
application and session level events such as
Application_Start, Application_End, Session_Start,
Session_End, etc. This article provides an overview of the
Global.asax file, the events stored in this file and how we
can perform application wide tasks with the help of this
file.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shantala
Globle.asax is file to declair Application level & session
level variables globally
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / chaitali
Global.asax is a text file ,it is use to define the global
variable.
| Is This Answer Correct ? | 3 Yes | 3 No |
Difference between windows application and web application? Which is the best for updation purpose?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What do you mean by marshalbyref?
IS IT POSSIBLE TO SET TIME FOR COOKIES?HOW IT IS POSSIBLE.
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
How do you create a permanent cookie?
What are merge modules?
Can any one explain with the example how to capture the application error in Aplication_Error() method?
What is the namespace for encryption?
3 Answers Astadia, CIA, Wipro,
How do I open an ashx file in windows 7?
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .
What is css in asp.net?
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)