title: Slim SessionCookie middleware not working
body: <p>This is my index.php</p>
  
  <pre><code>&lt;?php
  $app = new \Slim\Slim(
      array(
          'templates.path' =&gt; dirname(__FILE__).'/templates'
      )
  );
  
  // Add session cookie middle-ware. Shouldn't this create a cookie?
  $app-&gt;add(new \Slim\Middleware\SessionCookie());
  
  // Add a custom middle-ware
  $app-&gt;add(new \CustomMiddleware());
  
  $app-&gt;get(
      '/', 
      function () use ($app) {
          $app-&gt;render('Home.php');
      }
  );
  
  $app-&gt;run();
  ?&gt;
  </code></pre>
  
  <p>This is my custom middle-ware:</p>
  
  <pre><code>&lt;?php
  class CustomMiddleware extends \Slim\Middleware {
      public function call() {
          // This session variable should be saved
          $_SESSION['test'] = 'Hello!';
  
          $this-&gt;next-&gt;call();
      }
  }
  ?&gt;
  </code></pre>
  
  <p>And this is my template (<em>Home.php</em>)</p>
  
  <pre><code>&lt;?php
  var_dump($_SESSION['test']);
  ?&gt;
  </code></pre>
  
  <p>which will output NULL, so the session variable is not saved. Also, when opening the cookies list in the navigator I don't see any. Why isn't the cookie of the session saved? I verified and made sure that the <code>call()</code> function of the <code>SessionCookie</code> class is executed.</p>