NetTalk Central

Author Topic: Browser Tabs and Nt5.38  (Read 2895 times)

hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Browser Tabs and Nt5.38
« on: October 20, 2011, 01:37:05 AM »
Hi Folks,

I am lacking in understanding and would appreciate some help.  I thought that if I used ctrl-T and opened a new tab in a browser that I would be able to start a new session of my application. However, I noticed that the app in the new tab thinks it is loggedin and has the same SessionId as the other one.

The question is - Is it possible to have an instance of the app in each tab working independantly of the other tab???  If the answer is yes, how can I achieve that.  If not - such is life.

Thank you,
Hilton.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Browser Tabs and Nt5.38
« Reply #1 on: October 20, 2011, 07:30:59 AM »
Hi Hilton,

The short answer is that the browser sends absolutely no information in the request to identify the Tab, or indeed program instance, from which the request comes. So there's no way to do what you want. Such is life.

The root of the issue is the cookie management, which is used to identify the cookie. Memory-cookies (such as used by NetTalk) are shared across tabs, and in some browsers across apparent "instances" of the browser. FF does share, IE doesn't (sometimes.) The one reliable way to open multiple sessions is to use different browsers, one IE, one FF, one Chrome and so on.

That said, there are special cases. For example if you are running Chrome, and you open a new "Incognito" instance of the browser, then it should get its own cookies. But that doesn't mean this behaviour won't change at some point in the future.

Cheers
Bruce


hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Browser Tabs and Nt5.38
« Reply #2 on: October 20, 2011, 04:37:16 PM »
Hello Bruce,

Thank you very much for the enlightenment!

Bye,
Hilton.