Just an observation- in HubCallerContext.RequestCookies, should I retrieve a cookie that is base64 encoded, it comes back with all "+" characters replaced with spaces. I have to replace all spaces with "+" characters before decoding it.
Retrieving by the System.Web.HttpContext.Current.Request.Cookies (which sometimes is not available in my hub) returns the correct string.
None
0 Points
4 Posts
base64 encoded cookie
Sep 19, 2013 10:39 AM|djarvis8|LINK
Just an observation- in HubCallerContext.RequestCookies, should I retrieve a cookie that is base64 encoded, it comes back with all "+" characters replaced with spaces. I have to replace all spaces with "+" characters before decoding it.
Retrieving by the System.Web.HttpContext.Current.Request.Cookies (which sometimes is not available in my hub) returns the correct string.
..dan
Contributor
2292 Points
908 Posts
Microsoft
Re: base64 encoded cookie
Sep 20, 2013 02:21 AM|davidfowl|LINK
Context: https://github.com/SignalR/SignalR/issues/2163
Principal SDE, ASP.NET Team, Microsoft