1

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#?

0

explore this code chunk and see if it works for you -

HttpSessionState fooState = HttpContext.Current.Session;
HttpContext.Current.Response.Write(fooState.SessionID);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.