<sanity check>Handling reconnects of websocket on dodgy network link #612
-
Hi there, do web sockets have any notion of "the same client reconnected" or are they distinct "anonymous" connections? I assume so, so I am sticking any client specific state into a session, but I wanted to check. In the chat example, If "Bob" disconnects and reconnects because the network dropped out then I assume he is an entirely different "Bob". Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Dec 11, 2021
Replies: 1 comment 1 reply
-
Not that I'm aware of. Clients have to reconnect and get authorized somehow. How to do that is up to you and not WebSocket specific. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yatesco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not that I'm aware of. Clients have to reconnect and get authorized somehow. How to do that is up to you and not WebSocket specific.