title: Sinatra sessions - why is what I put in different from what I get out?
body: <p>I've got the following declared:</p>
  
  <pre><code>set :sessions, true
  </code></pre>
  
  <p>and then in my controller, I have:</p>
  
  <pre><code>session[$session_id] = user.session_id if save_successful
  </code></pre>
  
  <p>which sets the session, and then on a trip back to the server, I have:</p>
  
  <pre><code>session_id = session[$session_id]
  </code></pre>
  
  <p>But when I compare what I initially store in the session, I have:</p>
  
  <pre><code>a878bbd83f217daabec1b160b00bdde6 (initally)
  d1e6264b87ae240be5a25a7edbcc97e5688df133cada1c7ab50661ae2f752b48 (on trip back)
  </code></pre>
  
  <p>Why is what I put into a session different from what I get out? and how do I make it the same???</p>
  
  <p>Cheers,</p>
  
  <p>Louis</p>