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 a .xap file? Explain with an example.

0 Answers  


Should sn.exe be used before gacutil.exe ?

2 Answers   Accenture, BirlaSoft,


What is the use of view state?

0 Answers  


What are the benefits of Razor View?

0 Answers   NA,


What is the function of new view engine in asp.net? : asp.net mvc

0 Answers  


Define web.config in .net?

0 Answers  


Which two properties are there on every validation control?

2 Answers  


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect?

5 Answers  


Why is an object pool required?

0 Answers  


Why is it preferred to not use finalize for clean up?

0 Answers  


Do I need to have the latest version of windows media player installed?

0 Answers  


Categories