I am aware that this is a commonly asked question but I have yet to find anything that answers my question. I am randomly losing session data in a load balanced environment. I have done the following:
- Set all the servers to the same state server
- Ensured that all the machineKeys in the web.config are the same
- Ensured that all the machineKeys in the machine.config are the same
- Ensured that all the paths to the web service files are the same (case sensitive)
- Made sure that the services all have the same ID
The session simply will not persist over multiple web servers. The following is the web.config session information:
<sessionState cookieless="UseCookies" mode="StateServer" stateConnectionString="tcpip=[ipAddress]:42424" stateNetworkTimeout="30" timeout="60" />
Any ideas? I am out of them. Thanks!