web-farm

Allowing Session in a Web Farm? Is StateServer Good Enough?

蹲街弑〆低调 提交于 2019-11-26 09:23:42
问题 First of all to give you a bit of background on the current environment. We have a number of ASP.NET applications, all of which use session for certain aspects. We are \"Load Balanced\" over multiple servers due to traffic levels, however, our load balancing is set to use \"Sticky Sessions\" as currently all web applications are set to use \"InProc\" for session state. We are looking at being able to remove the \"Sticky Sessions\" configuration on our load balancer, as due to our traffic

Adding machineKey to web.config on web-farm sites

China☆狼群 提交于 2019-11-26 04:22:08
问题 We (our IT partner really) recently changed some DNS for a web farmed site we have, so that the two production server have round-robin DNS switching between them. Prior to this switch we didn\'t really have problems with WebResource.axd files. Since the switch, when we hit the live public URL, we get an error: CryptographicException Padding is invalid and cannot be removed. When we hit the specific servers themselves, they load fine. I\'ve researched the issue and it seems since they\'re