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

What is jade template engine?

0 Answers  


Explain diff. Between friend and protected friend?

0 Answers  


Explain the difference between array and linkedlist?

0 Answers  


What is the parent class of all web server control?

0 Answers  


What is the namespace for encryption?

3 Answers   Astadia, CIA, Wipro,






How ViewstateMac works?

0 Answers   CGI,


Why SessionID changes in every request in asp.net?

0 Answers   HCL,


Out of ASP or ASP.NET which one is stateless?

0 Answers   BirlaSoft,


What is the difference between ASP.NET Webforms and ASP.NET MVC?

0 Answers  


Explain login control and form authentication.

0 Answers  


what is shared assembly asp net

1 Answers   Fidelity,


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

0 Answers  


Categories