Say I have three sites: http://my-server/active-development, http://my-server/beta-release and http://my-server/official-release that essentially 3 different version of the same code base and I need them to function independently w.r.t. to session state. As in, when I log into one site (say http://my-server/active-development), the session ID cookie generated for that site should not be present when I open another browser window (of same type: say IE) to another site (say http://my-server/official-release). Unfortunately, that won't happen. Its because when the ASP.NET SessionIDManager generates the ASP.NET_SessionID cookie, it always specifies Path = "/".
private static HttpCookie System.Web.SessionState.SessionIDManager.CreateSessionCookie(
View Complete Post