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
Explain different pipelining hazards? : Dot net architecture
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
What is gui programming? : .NET Architecture
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
Explain what does the term "green architecture" mean? : .NET Architecture
Explain the Lapsed Listener problem in .net
How can we integrate atlas with web services?
Explain the types of memory management? : Dot net architecture
Explain different pipelining hazards and how are they eliminated? : Dot net architecture
What is the difference between machine config vs. Web config : Dot net architecture
What is one way operation?
What do you know about machine.config file ?
Define domestic architecture artifacts? : Dot net architecture
How cache coherency is eliminated? : Dot net architecture
How do we do authentications using atlas?