What are the Application_Start and Session_Start
subroutines used for?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / elango
application_start is executed when the first time the
application get executed.This is useful to findout total no
of users visted in that website and etc.
Session_start will get executed when each unique user enter
in to the application here u can access session specific
values,username ,pwd etc.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / srikanth
Application_Start is fired when the application loads first
time. Here use static data only.Do not use instance data
this is recommended.
Session_Start is fired when a user enters in to the
application.(when he requests first time.)
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / radha
This is where you can set specific variables to the
apllication and session objects.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / devi
This is where you can set the specific variables for the
Application and Session objects.
Is This Answer Correct ? | 2 Yes | 0 No |
How many rounds are there for a software programmer to clear interview in any IT industries(MNC).
What is enableviewstatemac in asp net?
What is the asp.net control toolkit?
What does it mean your session has timed out?
How to publish website
Where viewstate value is stored in asp.net?
What does the "EnableViewState" property do? Why would I want it on or off?
2 Answers Photon Infotech, Siebel Systems, Syntax Softtech,
How many validators do ASP.NET have?
Explain which is best suited place in the Application Start and Session_Start subroutines with an example?
What are tuples?
Explain how dot net compiled code will become platform independent?
Explain the difference between debug.write and trace.write? When should each be used?