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
Define domestic architecture artifacts? : Dot net architecture
can u give me real example of how web.config overrides the machine.config file?
Use of Enable view state ? if turn off what happen ?
Explain the difference between primary & secondary storage device? : Dot net architecture
Explain pipelining? : .NET Architecture
Explain .net mobile automatic paging? : Microsoft dot net mobile
difference between Response.write,server.transfer and also which one is used when ?
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
What are library functions?
What is Object Caching in Visual Studio 2010?
When do I need to use gc.keepalive?
What is the cli? Is it the same as the clr?
How do I stop a thread?
Explain cache? : Dot net architecture
What are the main Tools to develop .Net Application?