How you will handle session when deploying application in
more than a server? Describe session handling in a webform,
how does it work and what are the limits?

Answers were Sorted based on User's Feedback



How you will handle session when deploying application in more than a server? Describe session han..

Answer / frederickson

If we specify mode ="Inproc" session will store in
webserver itself under aspnet_wp.exe
If we specify mode = "Sqlserver" session will store in
sqlserver and it has to be serialized.

Is This Answer Correct ?    8 Yes 2 No

How you will handle session when deploying application in more than a server? Describe session han..

Answer / frederickson

we have Inproc server and outproc server
for storing session in different server we have to specify
in the webcofing mode="state" and state mode session to be
srialized. and it stores in aspnet_state.exe

Is This Answer Correct ?    5 Yes 1 No

How you will handle session when deploying application in more than a server? Describe session han..

Answer / adrien

You have 3 options.

1. Do not use any session variables.
2. Use a dedicated State Server (or state Server Farm)
3. Use SQL Server for state management

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Can you instantiate a struct without using a new operator in c#?

0 Answers  


what is IComparable

0 Answers   Wipro,


Explain About a class access specifiers and method access specifiers.

0 Answers  


Why use a singleton instead of static methods?

0 Answers  


why instance? what are the uses of instance?

3 Answers   Choice Solutions,


Give 2 scenarios where static constructors can be used?

0 Answers  


What are the 2 types of data types available in c#?

0 Answers  


without modifying source code if we compile again, will it be generated MSIL again?

0 Answers  


In which way a two-dimensional array declared in C#?

0 Answers   Siebel,


What are delegates and why are they required?

0 Answers  


What does a constructor do c#?

0 Answers  


What is type casting. Explain it with reference to classes.

2 Answers   HCL, JPMorgan Chase,


Categories