My question is: the opposite of the following words Sharing session state between two ASP.NET applications using SQL Server as well as How to maintain the same session identifier in multiple ASP.NET web applications .
Our application uses a state server to store session information, and we often want to host multiple versions of the same application on the same web server.
At the moment, since the ASP.NET_SessionId cookie ASP.NET_SessionId not saved with respect to any path, if I got to http://donkey.com/app1 and started a new session, then in the same browser session go to http://donkey.com/app2 , I inherit the session identifier (and therefore session state) from application 1.
Is there a way to persuade ASP.Net to set the path when it stores the session identifier cookie and thus break this unwanted exchange of session state?
source share