How to get SessionID on a request where EnableSessionState=“False”
I want to be able to get the SessionID of the currently authenticated session in a WebMethod function where EnableSession = false . I cannot set EnableSession=true on this request, because another (long running) request on a different page is keeping the SessionState locked (EnableSessionState == "True" not "Readonly"). Is there a consistent way of getting the SessionID from either the ASP.NET Session cookie or the Url for cookieless sessions? I can code it myself but I would rather use a function that is already documented and tested. Thank you very much, Florin. There seems to be no ASP.NET