About Global .asax ?

Answers were Sorted based on User's Feedback



About Global .asax ?..

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

About Global .asax ?..

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

About Global .asax ?..

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

About Global .asax ?..

Answer / shantala

Globle.asax is file to declair Application level & session
level variables globally

Is This Answer Correct ?    2 Yes 0 No

About Global .asax ?..

Answer / divya

it is a collection of event handler

Is This Answer Correct ?    2 Yes 1 No

About Global .asax ?..

Answer / chaitali

Global.asax is a text file ,it is use to define the global
variable.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Why session is used in asp.net?

0 Answers  


Can you set the session out time manually?

0 Answers  


What are the new navigation controls in asp.net 2.0?

0 Answers  


What is the asp.net control toolkit?

0 Answers  


What are validator? Name the validation controls in asp.net? How do you disable them?

0 Answers  






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'

2 Answers  


How to consume a webservice in a windows application without adding through the web reference?

1 Answers   247Customer,


How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP

3 Answers  


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

2 Answers   Syntax Softtech,


What is ipostback?

0 Answers  


Which data type does the rangevalidator control support?

0 Answers  


Categories