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 is the difference between l1 and l2 cache? : Dot net architecture
Explain hard disk and what is its purpose? : .NET Architecture
readonly syntax ?
Explain Singleton design pattern in .net
Explain domestic architecture artifacts? : Dot net architecture
What are .net mobile controls features? : Microsoft dot net mobile
Define a virtual memory? : Dot net architecture
Explain difference between machine config vs. Web config : Dot net architecture
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
Is dim fs as filestreamobject is a managed code? : Dot net architecture
Explain the purpose of cache? : Dot net architecture
what is the difference between master page and content page?
how to change the application name?
What are the different pipelining hazards and how are they eliminated? : Dot net architecture
Explain the difference between l1 and l2 cache? : .NET Architecture