title: Using Cookies in Laravel 4
body: <p>How do you use cookies in Laravel 4? </p>
  
  <p>I'm sure it's simple and something just isn't clicking with me but I need a little help.</p>
  
  <p>As far as I can tell, you have to create a cookie like this:</p>
  
  <pre><code>$cookie = Cookie::make('test-cookie', 'test data', 30);
  </code></pre>
  
  <p>Then, aside from returning a custom response, how do you set it? What good is setting it with a custom response? When would I ever want to do this? </p>
  
  <p>What if I want to set a cookie and return a view? What good does <code>return Response::make('some text')-&gt;withCookie('test-cookie')</code> actually do me aside from showing me how to use <code>withCookie()</code>?</p>
  
  <p>Like I say, I'm probably just missing something here, but how would I use a cookie in a practical way... </p>
  
  <p>...like somebody enters info, logs in, etc and I'd like to set a cookie and take them to a page made with a view? </p>