- Ably FAQs
- Realtime API and client libraries
- Connections
-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Reactor Queues, Events and Firehose
-
Migrating to Ably from an existing service
-
API Streamer
-
Connections
Can a single connection be shared across multiple browser tabs?
Unfortunately, because of browser security models that ensure each tab is effectively sandboxed from every other, it is not possible to share a connection between tabs. As such, if a user has 3 tabs open, each with a connection to Ably, that will count as 3 connections.
Please note however that:
- There are APIs available for communication between tabs and frames
- There are libraries to assist with this
Also, from an Ably browser client library perspective, connections can be closed in one tab and resumed in another.