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 / raghumadhav tirunagari
Application_start need for global variable which are
available over the application.
Sesssion_Start : login dependent ( user dependent)
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / guest
I am takeing an example for "online shopping website".We
have two options for customers (like Guest and register
users) to buy a product.
1.By default we have to show guest as one user.
2.Register user who are sigined in it.
3.Also i need to display how many uesrs are online.
There are some points to remmber:
1.How can i maintain Guest user to whole app.
2.how to maintain how many uesrs are online.
Application_Start:this event is used to declare global
variables.
Application["User"]="Guest";
Session_Start:This event is used to count how many no of
users are online.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is ado.net
When do I need to use gc.keepalive?
server.transfer limitation ?
how can u manage sessions ?
Difference between abstract class and interface
100 Answers Accenture, Altruist, Baba Group, CitiGroup, Fiserv, HCL, IBM, iGate, Infosys, Jean Martin, Karthik Industries, Microsoft, OnDLine, TCS,
How is the using() pattern useful? What is idisposable?
What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework
What is the difference between machine config vs. Web config : Dot net architecture
what are login controls?
Explain 'managed' mean in the .NET context
What is the application frame host?
difference between page init an page load