Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines?
Answer Posted / 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 |
Post New Answer View All Answers
Explain how can we inherit a static variable?
What is a SESSION and APPLICATION object?
What is synchronous and Asynchronous post back ?
Can we override the enablepartialrendering property of the scriptmanager class?
Explain the different parts that constitute ASP.NET application?
Is it true that a Web service must be written in .NET or not?
What is difference between Fragment Caching and Page Caching in ASP.NET?
What is the use of service provider?
What are the 3 levels at which content pages can be attached to Master Page?
What language does asp.net use?
Explain difference between friend and protected friend?
What is the Intermittent crashing of application in production?
What is asp net theme?
Explain the difference between webfarm and webgardens in .net?
In the Repeater control which way you can edit?