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
Post a Comment