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

What are different transaction options?

2 Answers   Astadia,


i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?

0 Answers  


web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.

2 Answers   TCS,


What are sharepoint pages?

0 Answers  


Why SessionID changes in every request in asp.net?

0 Answers   HCL,


What is rending process in ASP.NET?

0 Answers   Sans Pareil IT Services,


Explain how do you deploy your asp.net application?

0 Answers  


What is a session http?

0 Answers  


Difference between application events and session events

0 Answers  


what r the Templeats in ASP.net?

5 Answers   Intel, VBV,


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  


What is the use of placeholder control? Can we see it at runtime?

0 Answers  


Categories