SignalR, Limited unique connections (opened tabs) IIS8, Windows8

To bypass browser limtation you can use ‛localStorage‛ to communicate between windows and to have only one window as connection owner. Other windows in this case use connection owner to receive/send messages. IWC-SignalR is an implementation of such approach.


As has been discussed in the SignalR issue you've opened here, most modern browsers limit the maximum number of concurrent connections (typically around 6) to the same site.

One workaround is to use subdomains, i.e. each tab connects to a different subdomain (this is the approach Facebook is using). Another option would be to start just one connection and use localStorage as a message bus between tabs as suggested by FreshCode in this question: SignalR and Browser Connection limit

Tags:

Signalr