title: Symfony2 resetting session lifetime clears all sessions from other project running on a server
body: <p>I've been trying to maximize session lifetime in symfony2 like the below code that I've found. I have two different projects in my localhost and I need them both open and running in a browser.</p>
  
  <pre><code>if(isset($_POST['remember_me'])){
                  $this-&gt;container-&gt;get('session')-&gt;migrate($destroy = false, 2419200);
              }else{
                  $this-&gt;container-&gt;get('session')-&gt;migrate($destroy = false, 3600);
              }
  </code></pre>
  
  <p>In my config.yml on 2 projects, I have these settings:</p>
  
  <pre><code>framework:
      session:         
          handler_id: session.handler.native_file
          save_path: "%kernel.root_dir%/sessions"
  </code></pre>
  
  <p>Both projects are working and can be open in a browser until I've added this line $this->container->get('session')->migrate($destroy = false, $lifetime) to reset the session lifetime. I thought it works great with resetting the lifetime of the session until Ive found out that it clears the sessions from the other project.</p>
  
  <p>Anybody can help please..? </p>
  
  <p>Thank you in advance!</p>