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

Can we use http handlers to upload a file in asp.net?

2 Answers  


What is different authentication mechanisms used in ASP.NET?

0 Answers   Amdocs,


What is the differances between a abstract calss and interface

2 Answers   Patni,


how to use web services with code?(with example code)

1 Answers   Accenture,


difference between Trace and Debug ?

2 Answers   Accenture, HCL, Patni,


What is the base class of .NET?

6 Answers  


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

0 Answers  


How to handle errors in Web API?

0 Answers  


What are sql joins?

0 Answers  


Define application state variable and session state variable?

0 Answers   UGC Corporation,


What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object

7 Answers   Bunzl Vending, Syntax Softtech,


how can i inharit multiple classes?

3 Answers  


Categories