What is the Global.asax used for?

Answers were Sorted based on User's Feedback



What is the Global.asax used for?..

Answer / ganesh

The Global.asax (including the Global.asax.cs file) is used
to implement application and session level events.

Is This Answer Correct ?    16 Yes 0 No

What is the Global.asax used for?..

Answer / guest

In that include all session and application leavel events
like application_start,application_end,session_start etc

Is This Answer Correct ?    11 Yes 1 No

What is the Global.asax used for?..

Answer / shafi syed

Global.asax is use to implement Application and Session
level Events and those events are:

APPLICATION_START.
APPLICATION_END.
SESSION_START.
SESSION_END.

Is This Answer Correct ?    7 Yes 0 No

What is the Global.asax used for?..

Answer / brijesh

The Global.asax is used to handle Application and session
lavel event.

Is This Answer Correct ?    7 Yes 2 No

What is the Global.asax used for?..

Answer / rajesh

Global.asax is use to implement Application and Session
level Events and those events are:

1. Application_Start()
2. Application_End()
3. Application_Error()
4. Session_Start()
5. Session_End()

1. Application_Start() is executed when the application is
loaded into the webserver ie, when the whole web
application starts.It is global across all the users
visiting the website.Any kind of initialization logic can
be placed in this event.

2.It is used to perform release kind of activities like
releasing resources etc.

3.This event is executed when an error is occured and the
developer hasn`t written appropiate exception handling code.

4.This event is specific for each user`s session , ie this
event executes for each time for different users visiting
the website.Each User has his own session created for him
when he visits the website , a session_id is created for
him and is stored in the browsers cache and the same id is
used to recognise the user when he visits the website next
time.Can place initialization logic when the session starts.

5.Same as Application_End(), used for release kind of
activities, but this event is specific for each user`s
session.

Is This Answer Correct ?    5 Yes 0 No

What is the Global.asax used for?..

Answer / chaitali

Global.asax is use for define the global variable.

Is This Answer Correct ?    4 Yes 0 No

What is the Global.asax used for?..

Answer / vinod

Global.asax file is used to trap the application level events.

Is This Answer Correct ?    3 Yes 0 No

What is the Global.asax used for?..

Answer / ramesh reddy

what is difference between global.asax.cs and global.asax?.
what is the use of "Bin" folder used in asp.net application?

Is This Answer Correct ?    2 Yes 0 No

What is the Global.asax used for?..

Answer / navin.cp

It is used to establish a connection or session between
client and server.

Is This Answer Correct ?    6 Yes 8 No

Post New Answer

More ASP.NET Interview Questions

Which class provides methods that can be used to manage role membership to be used in user authorization?

3 Answers   Wipro,


why security trimming attribute?

1 Answers  


What is Pre-Render event in ASP.NET?

0 Answers   MindCracker,


What is Virtual path in ASP.Net

2 Answers   Proteans,


What is the difference between response.redirect and server.transfer?

0 Answers  






What is .netmodule and how is different from .dll and .exe

2 Answers   NIIT,


Which color scheme in a Repeater control can you provide alternatively?

1 Answers   Siebel,


Can we store object in viewstate?

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


page life cycle of asp.net.

4 Answers  


Can you explain how ASP.NET application life cycle and page life cycle events fire?

0 Answers   MindCracker,


hi wrever i go thy r asking depth abt 3-tier architecture i.e, hw to deploy 3 layers into 3 servers i do nt have much idea on deployment. can any one send me the tips or code if u hav kindly mail me.

1 Answers   Wipro,


Categories