Overview
RongCloud supports only one active session per platform type by default:
- 1 Web client
- 1 desktop client
- 1 mobile client
Multiple logins from the same platform (e.g., multiple browser tabs) will trigger automatic kickout.
Behavior
When kicked out:
- The system triggers the
Events.SUSPEND
listener - Returns error code
31010
(kickout status)
Solutions
Standard Handling:
- When receiving code
31010
:- Display a user notification
- Redirect to login page
- Never implement auto-reconnect in
Events.SUSPEND
(prevents kickout loops)
Web Optimization:
Enable Multi-Device Message Synchronization to:
- Sync messages across all device types
- Support multiple concurrent Web sessions
- Retrieve all daily messages upon reconnection
Setup Instructions:
- Navigate to: Console > Chat pricing plans > General services > Multi-device message synchronization
- Allow 15 minutes for feature activation
Platform Limitations:
- Electron applications don’t support concurrent sessions