title: Why store sessions on the server instead of inside a cookie?
body: <p>I have been using Flask for some time now and I am really enjoying the framework. One thing that I fail to understand is that in almost all other places they talk about storing the session on the server and the session id on the client, which would then identify the session.  However after using flask, I dont feel the need to do so. Saving the session as a cookie on the client cryptographically serves my purpose and seems quite secure too.  The only thing being I am unable to encrypt the session keys for eg:</p>
  
  <pre><code>session['life'] = 'the great one'
  </code></pre>
  
  <p>would appear as</p>
  
  <pre><code>life='gfhjfkjdfa some encryption kj'
  </code></pre>
  
  <p>in the cookie saved on the client. But how would that matter as it is still encrypted.
  I am sure that people here know things much better than I do, so request someone to please clarify :-) </p>