c# - ASP.NET session state not being shared in Redis -


we planning migrate aspstate redis store session. installed redis msi package on 1 of servers , c# application hosted on different server. have multiple web applications within single application hosted in iis.

the configuration both applications looks this:

<sessionstate mode="custom" customprovider="mysessionstatestore" timeout="180">     <providers>         <add name="mysessionstatestore"               type="microsoft.web.redis.redissessionstateprovider"               host="serverip"              port="6379"              accesskey=""              ssl="false"         />     </providers> </sessionstate> 

now problem session not being shared between applications. checked machine key , found same both applications.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -