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


I would like to maintain session state on each browser tab.

Is it easy (or even possible) to do in ASP.net?

Example: A user hits Ctrl-T 5 times in Firefox and visits the site in each tab. I want a tab to have my own session state on the server

The feature of the multi-tab session For a user without clattering the URL, do the following.

In your form load function, it includes:

  if not, then POTback then generate a new pidid 'viewestat ("junk") = (new random ( )). next (). ToString () End If  

When you save something in your session state, include the page ID:

ToString () and "checkbox") = D

Notes :

  • Normally with session id, you can not believe that malicious viewers will not change session ID / PageID. There is only one legitimate solution for such an environment where all users can be trusted. Fortunately, the viewstate offers more protection than using hidden input fields
  • You will not have access to PageID till the viewtest is restored on postback. Therefore, you will not have access to PageID in page_init () handler.

Comments