Suppose there is one web farm with 3 servers inside with
same configuration and the same project is running inside
all servers.Which session mode is usde for all these and
why?

Answers were Sorted based on User's Feedback



Suppose there is one web farm with 3 servers inside with same configuration and the same project i..

Answer / eduardo belmonte

Mode="StateServer"

That way one server will take care of the state and will
share that info with other servers who may need to request.

This of course is the way to set the "Out of Process"
management of Session State.

You must also include an attribute of StateConnectionString
related to the server that will provide the state
management.

Is This Answer Correct ?    3 Yes 2 No

Suppose there is one web farm with 3 servers inside with same configuration and the same project i..

Answer / chandra prakash

StateServer and SQL Server Mode

Is This Answer Correct ?    1 Yes 0 No

Suppose there is one web farm with 3 servers inside with same configuration and the same project i..

Answer / m.amalraj

we need to mention session mode in "Out of Process" in
web.config
Because should maintaining session with different server in
same application and default inProcess mode only used for
single server.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Define authentication and authorization.

0 Answers  


How would you get asp.net running in apache web servers? Explain it's limitations.

0 Answers  


What is difference between view and partial view?

0 Answers  


Types of objects in ASP ?

2 Answers   Microsoft,


How do you create a master page?

0 Answers  


Differentiate globalization and localization.

0 Answers  


How does the browser enable AutoPostBack functionality?

2 Answers  


How Session use Cookies in State Management?

0 Answers  


How to find out what version of asp.net I am using on my machine?

0 Answers  


How do we invoke queries from the application?

3 Answers   Microsoft,


can i call the java script to code behind file?if yes how?

4 Answers   Wipro,


Difference between using directive vs using statement?

0 Answers  


Categories