Search code examples
c#asp.netsessiondnx

Get SessionId in DNX / CoreCLR project


The whole httpContext has been changed in DNX.

I can read the full session with the IHttpContextAccessor.HttpContext.Session (DNX 1.0.0-RC1-update1). The Session property is of type ISession:

ISession interface

But how do I read the sessionId?


Solution

  • Session ids aren't supported anymore, found at a related Github issue.