title: Symfony 2.1 - Getting Session ID
body: <p>While trying to migrate from Symfony 2.0 to 2.1, I've found some interesting issue.</p>
  
  <p>I cannot get the native session id, even in the plain, just downloaded Symfony 2.1 copy.</p>
  
  <pre><code>/**
   * @Route("/sess")
   */
  public function sessionAction()
  {
      $session = $this-&gt;getRequest()-&gt;getSession();
      return new Response($session-&gt;getId());
  }
  </code></pre>
  
  <p>Did something changed significantly there?</p>