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
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 |
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 |
What is web router?
Can we make a class with class with same;suppose public class abc { public class abc { } }
In this case if exception occure in Database which catch block will be exexcuted?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is interval time of GC in .net
What is the difference between managed and unmanaged code? *******
How tooltip is set through code-behind in ASP.NET?
What are the objects in used in ASP for processing input and outputs?
You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?
what are the files used in asp .net
Which is faster viewdata or viewbag?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)