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
What are merge modules?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Why do we need Sessions?
How we implement web farm and web garden concept in asp.net?
Is it possible for me to change my aspx file extension to some other name?
What is Bundling and Minification in MVC?
Why and where this web.config file is used?
What is the difference between debug and release?
What are the ways to sending the data in ASP.NET page?
In a Repeater control how one can provide an alternating color scheme ?
What is an assembly? Explain its parts.
Which is better union or union all?
What is syntax code to send email from an asp.net application?
What is datagrid asp.net?
From which base class all web forms are inherited?