I've configured stateserver in web.config as well as added a machine key:
The stateserver works with other apps running on the same IIS.
In my module I'm using the IHttpContextAccessor to get the current request and setting the session like so:
_httpContextAccessor.Current().Session[_sessionName] = value;
Problem is that in all other requests
_httpContextAccessor.Current().Session[_sessionName] is null!
It worked fine with InProc StateServer and the connection string looks valid, can anyone advise how I could debug this?