title: Laravel redirect and continue executing script
body: <p>How can I redirect user and then store data in database about that user.</p>
  
  <pre><code>return Redirect::to('http:www.google.com');
  // Strore analytics
  $ip = $_SERVER['...']
  $analytic = new Analytic();
  $analytic-&gt;ip = $ip;
  $analytic-&gt;save();
  </code></pre>
  
  <p>Actually there is not only ip. I need to store a lot more data and if I first store that and then return redirect user needs to wait until everything is finished.</p>
  
  <p>How to first redirect and then continue savin data?</p>