ASP.NET session state not being shared in Redis
<p>We are planning to migrate from ASPstate to Redis to store session. We installed the Redis MSI package on one of the servers and the c# application is hosted on a different server. We have multiple web applications within single application hosted in IIS.</p>

<p>The configuration for both applications looks like this:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;sessionState mode="Custom" customProvider="MySessionStateStore" timeout="180"&gt;
    &lt;providers&gt;
        &lt;add name="MySessionStateStore" 
             type="Microsoft.Web.Redis.RedisSessionStateProvider" 
             host="serverIP"
             port="6379"
             accessKey=""
             ssl="false"
        /&gt;
    &lt;/providers&gt;
&lt;/sessionState&gt;
</code></pre>

<p>Now the problem is that session is not being shared between applications. We checked the machine key and found to be same both applications. </p>