You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no way to get the Session/Socket ID of a specific namespace.
For example, I have a namespace /chat. When I use Socket->SessionId I get the Session ID of the default namespace (/) whereas on the server, when I do socket.id I get the ID of the /chat namespace.
This is a problem as they don't match and I'm wanting to do connection tracking based on Session ID (which is currently impossible because of this).
The text was updated successfully, but these errors were encountered:
isaac-mcfadyen
changed the title
No way to get Namespace session ID
No way to get session ID of specific Namespace
Jun 11, 2022
Based on this issue the way to get matching session IDs is to do socket.client.id on the server (Typescript says it's invalid but it seems to work anyway). Not sure why you need to do this but it's not a problem with this client.
/chat
. When I useSocket->SessionId
I get the Session ID of the default namespace (/
) whereas on the server, when I dosocket.id
I get the ID of the/chat
namespace.The text was updated successfully, but these errors were encountered: