I would add persistence through the database or cache.
In my decision, I added the presidency through the database, for each session I assigned a unique identifier that was treated as a signalR group, and in each browser update the client registered with this unique identifier, and I would assign a new connection id to the same unique identifier, which is the name of the group. and sending the message to the client is done through groups.
_signalrDispatcher.Clients.Groups("group name").SendData(data);
source
share