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 is application variable?
Briefly describe the role of global.asax?
What is the difference between cookie and session?
What language is asp.net written in?
Explain how can we inherit a static member?
What is session start?
What is the extension of master page in asp.net?
What are sessions in asp net?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What is the purpose of using MVC programming pattern in ASP.NET?
What do you mean by authentication?
How to fetch a data from one table to another table in asp.net ?
What is an axd file?
How can we provide the WebParts control functionality to a server control?
Explain the different parts that constitute ASP.NET application?