What is the Global.asax used for?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / brijesh
The Global.asax is used to handle Application and session
lavel event.
| Is This Answer Correct ? | 7 Yes | 2 No |
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 |
Answer / chaitali
Global.asax is use for define the global variable.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vinod
Global.asax file is used to trap the application level events.
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
Answer / navin.cp
It is used to establish a connection or session between
client and server.
| Is This Answer Correct ? | 6 Yes | 8 No |
What are the advantages of passport authentication?
Which template must you provide, in order to display data in a Repeater control?
3 Answers Siebel Systems, Wipro,
Where session id is stored?
How many view state can be hold by a aspx page ?
What is the difference between mvc and asp.net? : Asp.Net MVC
Types of object in asp ?
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?
33) You create English, French, and German versions of your ASP.NET application. You have separate resource files for each language version. You need to deploy the appropriate resource file based on the language settings of the server. What should you do? A . Create an installer and set the Installer.Context property for each version of your application. B . Create an installer that has a launch condition to verify the locale settings. C . Create an installer that has a custom action to install only location-specific files. D . Create an installer that has an MsiConfigureProduct function to install the appropriate version.
2 Answers Friedkin, ISH, Syntax, Syntax Softtech,
Explain Features in ASP.NET
how can i inharit multiple classes?
What does mvc represent in asp.net? : asp.net mvc
what is satellite assembly in .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)