title: How do you store data server side that is specific to a client in Meteor?
body: <p>Express implements a server side session object that lets you store data specific to a client. How would you do the equivalent in Meteor?</p>
  
  <p>strack recommended using a collection. This would work if the ids of objects in the collection were session_ids that were exposed both server and client side on the connection objects. </p>
  
  <p>It appears the client and server share a session_id via the LivedataConnection on the client: </p>
  
  <pre><code>if (typeof (msg.session) === "string") {
    var reconnected = (self.last_session_id === msg.session);
    self.last_session_id = msg.session;
  }
  </code></pre>
  
  <p>and the LivedataSession object on the server:</p>
  
  <pre><code>self.id = Meteor.uuid();
  </code></pre>
  
  <p>But the Meteor API doesn't expose these objects. What is the correct way of accessing the session information?</p>
  
  <p>It would be really convenient if a client's Session object synced with a server side Session object unique to the client that is accessible from Meteor#publish and Meteor#methods.</p>