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 is COM Object in Dot net?

6 Answers   CTS,


What is http post action?

0 Answers  


what is a .xap file? Explain with an example.

0 Answers  


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


What is the importance of Global.asax in ASP.NET?

0 Answers   B-Ways TecnoSoft,






What is the main difference between Asp.net and Vb.net?

0 Answers  


What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?

1 Answers  


Where is the view state data stored?

0 Answers  


How can u sort strings in array where strings are passed to method as arguments.

3 Answers   CTS, Syncfusion,


What is ISAPI?

2 Answers   IBM,


What is directive in asp net?

0 Answers  


Explain the significance of routing? : asp.net mvc

0 Answers  


Categories