ASP.Net 4 Forms Authetication with Load Balancer and multiple web requests
<p>I have a .net 4 web application deployed over two servers with a load balancer.  Everything is running fine unless I make a second web request before the first finishes (ie. I hit one link and quickly hit another before the first finishes).  If this happens, I am redirected to the login screen.</p>

<p>Web.Config</p>

<pre><code>&lt;system.web&gt;
  &lt;forms name=".ASPXAUTH" loginUrl="~/Login.aspx" protection="All" timeout="2880"/&gt;
  &lt;machineKey validationKey='2CEDBD6543FF0BD744D21190A9B0238F56B677095E9C38D8B8CE1C88A29F2F3DA18962A815DBCEBB2CF52DB2D047E447F8C8B582C16BDC23C60CFA76EB309D23' decryptionKey='1D4341ED1B7D478D185D9F0423B20CC2326F0F394E7C337E' validation='SHA1'/&gt;
  &lt;pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" /&gt;
&lt;/system.web&gt;
</code></pre>

<p>I've tried to recreate the problem in my local debugger, but it only seems to happen after it's been published and running through the load balancer.  I've even gone onto the individual boxes and confirmed the issue doesn't occur there.</p>

<p>I read online that it's important to add a custom machineKey which you'll see in the web.config.  The web.config is the same file on both individual machines behind the load balancer (since I just do the VS Publish twice). </p>

<p>Any ideas? Thanks in advance.</p>
