Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines?

Answers were Sorted based on User's Feedback



Can you give an example of what might be best suited to place in the Application_Start and Session_..

Answer / raghumadhav tirunagari


Application_start need for global variable which are
available over the application.
Sesssion_Start : login dependent ( user dependent)

Is This Answer Correct ?    2 Yes 1 No

Can you give an example of what might be best suited to place in the Application_Start and Session_..

Answer / 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

More Dot Net AllOther Interview Questions

what is session management ?

3 Answers   Ness Technologies,


Is .NET really support fully OOP Concept?

1 Answers  


What are the types of memory management? : Dot net architecture

1 Answers  


Explain how cache is used? : Dot net architecture

1 Answers  


Are there any third party logging components available?

1 Answers  


Explain the differences between Server-side and Client-side code?

2 Answers  


what is the difference between running an application with and without debugger?

1 Answers   Six Sigma,


what is tracing? Where it used?

1 Answers  


Explain different pipelining hazards? : Dot net architecture

1 Answers  


how can u manage sessions ?

3 Answers   Ness Technologies,


What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework

4 Answers   T3 Softwares,


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

1 Answers  


Categories