I am new to SignalR. I need to develop a form that when user fill it out the representative can see her input and help her. Consider the user is at home and rep is at office. Also there is no authentication involve. I know there is ConnectionId that
I can use but is it doable without username? In this way how I can connect rep to specific User?
After read the issue, as far as I know, when you after a connection, it will create a connection ID, you could store this connection ID then use it again.
For more details, you could refer to the following tutorial:
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
137 Points
441 Posts
How connect to particular user without having the username
Apr 26, 2017 10:25 PM|nikoo56|LINK
I am new to SignalR. I need to develop a form that when user fill it out the representative can see her input and help her. Consider the user is at home and rep is at office. Also there is no authentication involve. I know there is ConnectionId that I can use but is it doable without username? In this way how I can connect rep to specific User?
Contributor
6730 Points
2715 Posts
Re: How connect to particular user without having the username
Apr 27, 2017 08:14 AM|Eric Du|LINK
Hi nikoo56,
After read the issue, as far as I know, when you after a connection, it will create a connection ID, you could store this connection ID then use it again.
For more details, you could refer to the following tutorial:
Mapping SignalR Users to Connections:
https://docs.microsoft.com/en-us/aspnet/signalr/overview/guide-to-the-api/mapping-users-to-connections#in-memory-storage
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
137 Points
441 Posts
Re: How connect to particular user without having the username
Apr 27, 2017 06:07 PM|nikoo56|LINK
@Eric Du but how I can relate the connection Id to the particular user?