0

I want to set SignalR ClientIds to their user's identifiers, stored in the cookies, to easely get them from hubs. How can I do it in SignalR version 0.5 and higher? There's solution on this page, but IConnectionIdFactory is deprecated in new versions of SignalR, so it doesn't work. Thanks for answers.

Eriendel
  • 911
  • 1
  • 9
  • 23

1 Answers1

0

Since the IConnectionIdFactory is now deprecated you need to maintain your own mappings of users to connection id's.

See 'SignalR 1.0 beta connection factory' for recommend practices on doing this.

Community
  • 1
  • 1
N. Taylor Mullen
  • 18,061
  • 6
  • 49
  • 72