Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a problem with SharePoint session. Is there any way to retrieve Session ID or Transaction ID of an user in SharePoint by C#?
explore this code chunk and see if it works for you -
HttpSessionState fooState = HttpContext.Current.Session;
Required, but never shown