title: Laravel 4 - Cookies aren't saved on local server
body: <p>Following the docs I have created a cookie to last "forever" (5 years) on my local virtual host (indgo.dev).</p>
  
  <p>so this:</p>
  
  <pre><code> $cookie = Cookie::forever('hash',$project['hash']);
    dd($cookie);
  </code></pre>
  
  <p>outputs:</p>
  
  <pre><code>object(Symfony\Component\HttpFoundation\Cookie)#436 (7) {
    ["name":protected]=&gt;
    string(4) "hash"
    ["value":protected]=&gt;
    string(360) "eyJpdiI6IlNJcUJZSElRTlwvQ0dJU3Z4dE44VFwvYjJ3U3lpckRZY2xsV3NlWTJ5VHJ1dz0iLCJ2YWx1ZSI6IkFHeFJGOXhjSzZxTkhZWGpIMiszUWZ5eXBUT2xuMTZFalpXdVZ3VW1CYUh1SmxKZUNPMk1rSFhONFk4REVkMzBtWlluWVhWU21uVHJXMDllKytmYm5idk5IVTNcLzIrUEgyZ3dsVllVTERyeTROU1lKUHUwb1ZpRll2V1JmU0Z4bSIsIm1hYyI6Ijc1YzcyODlkOTU0MGQ3ZjEyMDJhNjk5ZWNhOWY2ZWNhMGRhNzU4NjZiOTAwNGUzMjY1MzI2YjhhNGZjMWVhMzgifQ=="
    ["domain":protected]=&gt;
    NULL
    ["expire":protected]=&gt;
    int(1523085636)
    ["path":protected]=&gt;
    string(1) "/"
    ["secure":protected]=&gt;
    bool(false)
    ["httpOnly":protected]=&gt;
    bool(true)
  }
  </code></pre>
  
  <p>However, when I try to get the cookie on <strong><em>a differernt request</em></strong>:</p>
  
  <pre><code>$hash = Cookie::has('hash');
      dd($hash);
  </code></pre>
  
  <p>I get <code>false</code> (or <code>null</code> if I use the <code>get</code> method)</p>
  
  <p>Using Chrome Dev tools I found that indeed the cookie doesn't show. The only ones listed are <code>laravel_payload</code> and <code>laravel_session</code>. </p>
  
  <p>UPDATE: When I login a new <code>remember_me</code> cookie <em>is</em> created by the <code>Auth</code> class</p>