Rolosoft.comRolosoft Geo IP.NET Documentation
Web Farm Considerations

Rolosoft Geo IP.NET will happily run in a web farm environment. There are some special considerations to bear in mind.

To cache a users locale, we use a temporary cookie that is secured and encrypted to prevent tampering. The encryption algorithm uses the server "machineKey" which by default is defined in the machine.config file on the web server.

In order for the cookie encryption to be consistent across multiple servers in the web farm, it is necessary to specify a consistent "machineKey" in the ASP.NET application web.config file. An example of how to do this follows:-

CopyExample of Changes needed to run Geo IP.NET in a web farm
<machineKey
validationKey="A1DD0AB5B745B32C9B237AB9DB006BCBD81531A244765ED6E72A98C315BC643E7B780721A898591A140FB24D3FC7BF0879C2374DC5F3A868A9E12024A53D3045"
decryptionKey="C315F18AB7E67F93F853B9FA739AD709EC510C103AEDD08E" 
validation="SHA1" />

Note: Please DO NOT use the example given above. You can obtain your own unique machine key here

Resources