title: Where are my sessions in Slim PHP framework?
body: <p>I'm using version 1.5.0 of the Slim PHP framework, and I'm having problems with sessions. I've had no problems in the past (using Slim), so it leads me to believe it's either something changing with Slim, or something with my setup. Here is a basic snippet of routes in my index.php page.</p>
  
  <pre><code>$app-&gt;get('/test', function() use($app) {
      $_SESSION['test'] = 'blah';
      var_dump($_SESSION);
  });
  
  $app-&gt;get('/test2', function() use ($app) {
      var_dump($_SESSION);
  });
  </code></pre>
  
  <p>The '/test' route outputs:</p>
  
  <pre><code>array(1) { ["test"]=&gt; string(4) "blah" }
  </code></pre>
  
  <p>The '/test2' route outputs:</p>
  
  <pre><code>array(0) { }
  </code></pre>
  
  <p>What is up with my sessions. Am I doing something wrong? Should I be using something else than PHP's native sessions? I've even tried initializing Slim with the following property:</p>
  
  <pre><code>$app = new Slim(array(
      'session.handler' =&gt; null
  ));
  </code></pre>
  
  <p>Both options, to no avail.</p>