开发者

Maintaining the state in load balanced server?

What are the ways to mainatain the state in load balanced servers?

I am using one application which is hosted in tw开发者_开发百科o different servers. Now I want to check a record about whether it has already been taken by somebody to edit or not.

How to maintain a state inorder to accomplish my above requirement.


If you need to share session state when using ASP.NET then you either need to use a StateServer or SqlServer to store session state.

The StateServer is a service built into Windows that takes serialized objects and allows the servers to query the data out. The Sql operation does a similar thing, but stores them in a database rather than in memory somewhere.

More information can be found on MSDN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜