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 a managed code? : Dot net architecture
What is the purpose of Accordian in jquery? Where it can be used?
Can you explain control extenders?
What is the purpose of cache? : Dot net architecture
What actually happes when you add a something to arraylistcollection ?
what are constructors and destructors?
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
Explain the use of virtual, sealed, override, and abstract.
inprocess vs out process session state : Dot net architecture
Can you explain update progress control?
So what exactly is the configuration file for then?
Define pipelining? : Dot net architecture
How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts
what is the method while we are using adapter and dataset ?
What is the mesi? : Dot net architecture