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

Which protocol is used to call web service?

0 Answers  


How asynchronous call can be implemented using delegates?

0 Answers  


cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns 1st datatable with columns studentNo studentName Deptno 2nd datatable with columns Deptno DeptName DeptAddress add data to both the tables Dynamically and merge these tables into one table and display it in Grid view as studentNo studentName Deptno DeptName DeptAddress

1 Answers   SQL Star,


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

0 Answers  


How do you perform validations ?

2 Answers   Microsoft,






Is it possible to use two versions of assembly at the same time?If possible explain with code?

3 Answers   Tech Mahindra,


Where sessions are stored in asp.net?

0 Answers  


How do you implement postback with a text box?

0 Answers  


suppose i am Admin in my application and i have to terminate the session of the particular user in my application.........how can i do it....?????

1 Answers   L&T,


What is the difference between a candidate key and primary key?

0 Answers  


What does uri mean?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

3 Answers   Satyam,


Categories