Posted on: 3/18/2015 7:35:36 PM | Views : 612

<div class="post-text" itemprop="text"> I working on a simple chat project. The project consist of two pages, one for log in and one for chatting. The controller of the log in page check the username and password of the user and if its correct, it store the user id and username in session["Info"].
The problem is that I can't get the username and user id from SignalR hub class because session can't be used in hub class. So I need a way to pass data from the log in controller to the hub class.
</div>

Go to the complete details ...