I hope you find an elegant solution to this problem, but AFAK one browser instance just shares the same identity.
To deal with this situation, we use HIDDEN on the main page, which is part of the main form. Its value is randomly generated when loading the first page. Later, the value is saved between requests. Session values โโare stored using a HashTable key of a hidden value.
2 more hacks necessary for its work.
- Response.Redirect runs with a simple form that uses the POST method to pass the HIDDEN value to a new page.
- All hrefs left-clicked, also placing the HIDDEN value (if the user uses the "Open in New TAB / Window" direct redirect without message, just creates a new HIDDEN value - a new slash.)
source share