title: How to save data using SignalR?
body: <p>I would like to save data using SignalR. For example, </p>
  
  <pre><code>public void ReservationOpened(long contractId, string username)
  {
      // Save the contractId somewhere, that we can access it later. Let's call it ListOfOpenedIds
      Clients.All.reservationOpened(contractId, username);
  }
  
  public void ReservationClosed(long contractId)
  {
      // look in ListOfOpenIds for contractId, and then remove it.
      Clients.All.reservationClosed(contractId);
  } 
  </code></pre>
  
  <p>How can I accomplish this? I heard that using Session is not recommended using SignalR. So I guess I won't use Http.Current.Context.Session. </p>
  
  <p>As for Database approach, I don't like the fact of using dbWrite/dbRead for every open/close. </p>
  
  <p>Can someone tell me how to accomplish this? If Database approach is the best way, where should I initialize the database connection?</p>