SignalR How is a duplicate Connection Id handled?

后端 未结 3 1564
执念已碎
执念已碎 2021-01-19 05:46

I have created my own IConnectionIdGenerator implementation which for simpicty in my webforms application names the client connection Id by the EmailAddress.ToL

3条回答
  •  攒了一身酷
    2021-01-19 06:13

    Connection ids have to be unique. If you don't make them unique then one will kick the other connection offline. Internally we use the connection id as a unique identifier for a connection and we disconnect dupes.

    If you get repeated 301 responses it's likely because you have a folder in your app called signalr, and it isn't directly related to sharing connection ids.

提交回复
热议问题