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 asp.net

4 Answers  


What is difference between session and viewstate?

0 Answers  


is it possible to persiste customize object in view state? how it is?

2 Answers  


What are early binding and late binding.

0 Answers  


Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com

4 Answers   Sapient,


What is postback pixel?

0 Answers  


IN an ASP.NET Web application if there is any error, how can you debug?

0 Answers   Siebel,


Can we set which type of comparison we want to perform by the CompareValidator control?

0 Answers   MindCracker,


Which control would you use if you needed to make sure the values in two different controls matched?

2 Answers  


Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designing the selction option using radio button. So, I want to retrive the data from the database to the radiobutton option. And also please tell me the how to compare the correct answer option with Answer selected by the users. If any body knows or have done this before please Help me out. My mail id is get_rome@yahoo.co.in. Table format: Question Id Queston Option1 Option 2 Option 3 Option 4 Correct answer 1 What is ur name? My name is ….. My name …. My name …. My name …. My name is tom

4 Answers  


What was the difference between machine.config and web.config files

17 Answers   Assurgent, NIIT, TCS,


what is the difference between console.writeline &console.output.writeline?

2 Answers  


Categories