title: Update cookie value in Laravel 4
body: <p>Let's say that I wan't a cookie value updated based on a query string parameter. Despite the fact that I change the value of the query string parameter, the value of the cookie is not updated; it stays the same all the time.</p>
  
  <pre><code>Route::get('cookie', function(){
  
          print_r(Cookie::get('testcookie', null));
  
          $cookie = Cookie::make('testcookie', Input::get('id'), 50);
  
          return Response::make()-&gt;withCookie($cookie);
  });
  </code></pre>
  
  <p>Now if I go to:</p>
  
  <p>laravel.localhost/cookie?id=1</p>
  
  <p>I will get null (no cookie exists in the beginning)</p>
  
  <p>and then again</p>
  
  <p>laravel.localhost/cookie?id=1</p>
  
  <p>I will get output: 1</p>
  
  <p>If I now go to</p>
  
  <p>laravel.localhost/cookie?id=2</p>
  
  <p>I will still get 1</p>
  
  <p>How can I get this cookie to update it's value?</p>