socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

share the same socket.io channel among browser tabs

Open soleiljy opened this issue 15 years ago • 1 comments

Hi,

It could be a dumb question, but i would like to get some help.

Let's suppose a browser opened with 100 tabs. In the current socket.io implementation, i think each tab would make its own connection with the server, and therefore 100 different socket.io channels would be generated.

Question: Is there any way to share the same socket.io channel among browser tabs which use the same (domain) cookie?

thanks in advance

soleiljy avatar Oct 20 '11 02:10 soleiljy

I think its impossible to share javascript objects between multiple tabs, even if they are all from the same domain.

josephg avatar Nov 01 '11 08:11 josephg