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

What is a multi line comment?

0 Answers  


What is the namespace for datatable in c#?

0 Answers  


if we inherit class in stack so object of stack will store in stack or heap? as class a { int s; public aa(){} } stack mystack:a { } mystack obj; ans: about obj

1 Answers  


Define a manifest in .net?

0 Answers  


Which .gang of four. Design pattern is shown below?

0 Answers  






Is nullable type c#?

0 Answers  


When static constructor is invoked?

9 Answers   TCS,


What are different types of classes in c#?

0 Answers  


Can you declare a class or a struct as constant?

0 Answers  


Can a class have more than 1 destructor?

0 Answers  


what is an event? Define delegate?

0 Answers  


What is the example of predicate?

0 Answers  


Categories