title: Laravel Session store not set on request
body: <p>I'm developing a small website and have problems with the session. When I try to login or make an AJAX call, I get the following RuntimeException:</p>
  
  <pre><code>RuntimeException in Request.php line 758: Session store not set on request.
  
  in Request.php line 758
  at Request-&gt;session() in VerifyCsrfToken.php line 87
  at VerifyCsrfToken-&gt;tokensMatch(object(Request)) in VerifyCsrfToken.php line 49
  at VerifyCsrfToken-&gt;handle(object(Request), object(Closure))
  at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  at Pipeline-&gt;Illuminate\Pipeline\{closure}(object(Request)) in Language.php line 38
  at Language-&gt;handle(object(Request), object(Closure))
  at call_user_func_array(array(object(Language), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  at Pipeline-&gt;Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  at EncryptCookies-&gt;handle(object(Request), object(Closure))
  at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  at Pipeline-&gt;Illuminate\Pipeline\{closure}(object(Request))
  at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  at Pipeline-&gt;then(object(Closure)) in Kernel.php line 122
  at Kernel-&gt;sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  at Kernel-&gt;handle(object(Request)) in index.php line 54
  </code></pre>
  
  <p>Any idea what have I done wrong. Thanks in advance</p>