Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines?
Answer Posted / 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 |
Post New Answer View All Answers
What are library functions?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
Explain cache? : Dot net architecture
Can you explain update progress control?
Explain about developer benefit from memory management?
Explain difference between inprocess vs out process session state? : .NET Architecture
What is the numeric attribute of the textbox control in .net mobile? : Microsoft dot net mobile
Define a virtual memory? : Dot net architecture
What is parallel computing?
How do I write to the application configuration file at runtime?
Explain about continuable exceptions?
Explain the five stages in a dlx pipeline? : .NET Architecture
Explain different pipelining hazards and how are they eliminated? : Dot net architecture
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
What is the mesi? : .NET Architecture