We have recently upgraded our API’s (using Forms Authentication) Servicestack version 4.0.40 to latest stable version of Servicestack (V5.1.0). Previously after API authenticated (using user credentials) we use to get required cookies set to use in following API calls. Now having issues in reusing authenticated session as missing “ASP.NET_SessionId” cookie value.
Cookies API use to set after Authentication before upgrade were:
ARRAffinity, ASP.NET_SessionId, ss-id, ss-pid, .ASPXAUTH
After Servicestack upgrade we have below cookies set after authentication:
ss-id, ss-pid, ss-opt, .ASPXAUTH, ARRAffinity
Not sure if it is related but note that we use Autofac for IOC. We had code to use IsntancePerHttpRequest now it is changed to InstancePerDependency as having trouble using Autofac.Extras.ServiceStack after upgrading servicestack.