What are the Application_Start and Session_Start
subroutines used for?

Answer Posted / ananta

Whenever the application starts, this subroutine is fired,
So you can place codes here that is specific to the
application start event, say want to log when application
starts.
Code in Session_Start will be executed every time a new
session is started (e.g. a new user visits the site).

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of Global.asax in ASP.NET?

634


Elaborate differentiation between Cache and Application?

617


Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj

2935


What is the difference between “Web.config” and “Machine.Config”?

778


Explain difference between dataset and recordset?

598






9. Why should we hire you over the others waiting to be interviewed?

2257


What is the difference between pathparam and queryparam?

685


What is strong-typing versus weak-typing?

665


what is AutoEventWireUp and what is the use of This property explain in details?

1222


How to handle errors in Web API?

735


What is the difference between mechine.config and web.config?

841


How do cookies work?

677


How to register exception filter globally?

687


What kind of data can be stored in viewstate?

629


Explain how can we inherit a static member?

611