I\'ve just discovered you can\'t access the current session within the SignalR Hub.
Simplified my scenario: I\'ve tried to write a chat.
The name of the curr
You could send values from client to server hub via Query String.
Before the $.connection.hub.start() method you could add something like this:
Client JS Code:
// Replace "some value" with the session value or anything you want
$.connection.hub.qs = { "Name": "some value" };
$.connection.hub.start()...bla bla bla
On the server side on the Hub you could use this in any method:
string ClientValue= Context.QueryString["Name"].ToString();
I did not test with sessions, but of course on client side you could be as awesome as you can.