I'm storing some value in an asp.net session on the first page. On the next page, this session value is being read. However if multiple tabs are opened and there are multiple page 1->page 2 navigation going on, the value stored in session gets mixed up since the session is shared between the browser tabs.
I'm wondering what are the options around this :
Query String: Passing value between the pages using query string, I don't want to take this approach since there can be multiple anchor tags on page 1 linking to page 2 and I can not rewrite the URLs of each tag since they are dynamic.
Cookies??? In-memory cookies are shared across browser tabs too, same as the session cookie, rite ?
Any other option?
PS: Page 1 to page 2 is not a form submit.
See Question&Answers more detail:os