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 |
17. If I?m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?
explain about Back ground process control in .net
1 Answers Digital Mesh, Infronics,
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
Who can consume WebAPI?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe
How can you send an email message from an asp.net web page?
How do you construct HtmlResponseMessage?
I am using SQLServer 2005. I have one table called Drivers. Every day thousands of records will be added in this table. I have to show all these records in my GridView with out applying ajax timer beacause we don't know the time limit when the new record come to the table. Sometimes it will add for 10 seconds some times 20 seconds. There by Please try without using timer or any other soultion apply for the table in sqlserver. But, i want to see all records immediately when new record comes in table. How? Thanks in advance... Ramesh
Have u used webcontrols?Tell me something about these?
Is it possible for me to change my aspx file extension to some other name?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
What is asp.net ajax?
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)