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

When Garbage Collector runs in an Application? 1)Application is running form more than 30 min. 2)On every 1/4th milisecond 3) Randomly 4) Application is running on low of memory

2 Answers   PCS,


How to refresh a page in asp.net

4 Answers  


what is the dllhell? why we use the dllhell?

4 Answers  


Describe the difference between inline and code behind - which is best in a?

0 Answers  


What is full trust in asp.net?

0 Answers  






1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

0 Answers   TCS,


What are the different methods of session maintenance in asp.net?

0 Answers  


Differentiate session and cookie

1 Answers  


Why Unload event of MasterPage Calls first in ASP.net ?

0 Answers   HCL,


How do you implement sql caching in asp.net?

0 Answers  


Explain the difference between dataset and datareader.

0 Answers  


Explain about ASP.NET?

0 Answers  


Categories