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 |
Why session is used in asp.net?
Can you set the session out time manually?
What are the new navigation controls in asp.net 2.0?
What is the asp.net control toolkit?
What are validator? Name the validation controls in asp.net? How do you disable them?
I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'
How to consume a webservice in a windows application without adding through the web reference?
How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP
How do you define authentication in Web.Config?
2 Answers Accenture, BirlaSoft, IBM,
What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable
What is ipostback?
Which data type does the rangevalidator control support?