Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines?

Answers were Sorted based on User's Feedback



Can you give an example of what might be best suited to place in the Application_Start and Session_..

Answer / sulochana singh

The Application_Start event is guaranteed to occur only once throughout the lifetime of the application. It's a good place to initialize global variables. For example, you might want to retrieve a list of products from a database table and place the list in application state or the Cache object. SessionStateModule exposes both Session_Start and Session_End events.

Is This Answer Correct ?    0 Yes 0 No

Can you give an example of what might be best suited to place in the Application_Start and Session_..

Answer / ramgopal reddy

This is where you can set the specific variables for the
Application and Session objects.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

4 Answers   Syntax Softtech, TCS,


What is Cookies Less Session?

0 Answers  


What is Web Gardening? How would using it affect a design ?

1 Answers   Infogain,


What are sql joins?

0 Answers  


In your web.config file which attribute of <Globalization> element identifies the default culture that will be used for web request?

1 Answers  






What is ispostback method in asp.net?

0 Answers  


What are the new features added from ASP to ASP.NET?

0 Answers   Amdocs,


What is the namespace to create thread in .net?

0 Answers  


What does mvc represent in asp.net? : asp.net mvc

0 Answers  


What is the use of data set in asp.net?

0 Answers  


Explain autherization levels in .net ?

2 Answers  


What are user controls and custom controls ?

1 Answers  


Categories