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


Please Help Members By Posting Answers For Below Questions

What are library functions?

548


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

539


Explain cache? : Dot net architecture

599


Can you explain update progress control?

525


Explain about developer benefit from memory management?

539






Explain difference between inprocess vs out process session state? : .NET Architecture

545


What is the numeric attribute of the textbox control in .net mobile? : Microsoft dot net mobile

539


Define a virtual memory? : Dot net architecture

511


What is parallel computing?

543


How do I write to the application configuration file at runtime?

527


Explain about continuable exceptions?

541


Explain the five stages in a dlx pipeline? : .NET Architecture

508


Explain different pipelining hazards and how are they eliminated? : Dot net architecture

502


Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

616


What is the mesi? : .NET Architecture

605