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 the difference between Webservice and WCF

9 Answers   IBM, ITC Infotech,


What are client activated objects and server activated objects?

0 Answers  


How does asp net store session ids by default?

0 Answers  


Explain client side state management system.

0 Answers  


How can you ensure a permanent cookie?

0 Answers  






How you can use video conferencing in asp.net? guys plz help me ...

2 Answers  


Explain parts of assembly?

0 Answers  


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

0 Answers  


cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns 1st datatable with columns studentNo studentName Deptno 2nd datatable with columns Deptno DeptName DeptAddress add data to both the tables Dynamically and merge these tables into one table and display it in Grid view as studentNo studentName Deptno DeptName DeptAddress

1 Answers   SQL Star,


What is difference between Fragment Caching and Page Caching in ASP.NET?

0 Answers   PUCIT,


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

0 Answers  


How much data (Max K) can go into a QueryString?

4 Answers   TCS, WEB,


Categories