7

Hi I will like to imitate the behaviour of the site ClickBank.com, for example:

Open the site, and login, if i open a tab with the same site, it ask me again to login.

It makes me wonder how to manage one session per tab.

Just to clarify, i don't loose control on the first tab if i log on in the new tab. They are separate sessions.

Thank you

Sanchitos
  • 8,423
  • 6
  • 52
  • 52

1 Answers1

2

Create a hidden field with a page ID and include that when you are trying to access whatever object in session Assign a random guid or value to that hidden control and then use it to store stuff in session

ex.

Session(PageID.Value & "CheckBoxes") = D

Hope that help!

asp.net - session - multiple browser tabs - different sessions?

Community
  • 1
  • 1
Micah Armantrout
  • 6,781
  • 4
  • 40
  • 66