title: Obtain the value laravel sets for the laravel_session cookie
body: <p>I'm working on an app that uses laravel as the backend, the login form works through ajax and the frontend is loaded locally so it's a cross domain, the problem is laravel doesn't set the cookie on the client side so the user doesn't stay logged in.</p>
  
  <p>I'm thinking on getting the cookie manually and injecting it on the global ajax headers for the app but I can't find how laravel converts the session id to the giant string that sets as a cookie, how can i obtain it or how can i convert the session id to the value?</p>