title: Cookie session driver won't save any validation error or flash data
body: <p>I am having a hard time with the cookie session driver in Laravel.</p>
  
  <p>I have a simple form with a validation in place. This is my method for saving this form data:</p>
  
  <pre><code>public function store()
  {
      $this-&gt;validate(request(), [
          'name'        =&gt; 'required',
          'title'       =&gt; 'required',
          'description' =&gt; 'required|max:600',
          'image'       =&gt; 'required|file|mimes:jpeg,png',
      ]);
  
      $member = TeamMember::create(request()-&gt;all());
      $member-&gt;addImage(request()-&gt;file('image'));
  
      return redirect()-&gt;route('backoffice.team-members');
  }
  </code></pre>
  
  <p>Pretty simple.</p>
  
  <p>The problem is that, when using the cookie session driver, if I save this form with a description that's 1024 characters long, I'll get redirected back but with no flash data and no <code>$errors</code> in the view for the next request to handle.</p>
  
  <p>Example:</p>
  
  <p><a href="https://i.stack.imgur.com/tEezF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tEezF.png" alt="enter image description here"></a></p>
  
  <p>This is a POST after using this line:</p>
  
  <pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce gravida eros ut leo commodo luctus. Nulla neque dui, laoreet quis felis in, porta tincidunt felis. Phasellus in lacus et sem condimentum ornare. Praesent vitae nisi tempus, gravida tortor eu, convallis dui. Cras lacinia posuere scelerisque. Vestibulum tincidunt purus id sollicitudin varius. Sed eros urna, mattis nec nunc eu, finibus suscipit ipsum. Aliquam varius faucibus congue. Vivamus convallis imperdiet sem a commodo. Proin cursus feugiat sem a pharetra. Curabitur rhoncus non quam sit amet lacinia. Sed ut nisl id odio faucibus vehicula vel ut erat. Vestibulum ut iaculis magna. Quisque sit amet massa sodales, suscipit nisl eu, dapibus elit. Morbi posuere ligula pretium commodo semper. Nam odio elit, rutrum finibus tortor eget, viverra viverra metus. Proin tincidunt tempor ex pretium rhoncus. Proin egestas erat sed eros congue, mollis gravida magna bibendum. Pellentesque vel bibendum nunc. Orci varius natoque penatibus et magnis dis viverra fusce.
  </code></pre>
  
  <p>In the description field. 1024 bytes to be exact.</p>
  
  <p>Instead, if I just fill the field with some more dummy data but nothing too crazy:</p>
  
  <p><a href="https://i.stack.imgur.com/Wg7RE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Wg7RE.png" alt="enter image description here"></a></p>
  
  <p>If I change the session driver to file:</p>
  
  <p><a href="https://i.stack.imgur.com/41a3H.png" rel="noreferrer"><img src="https://i.stack.imgur.com/41a3H.png" alt="enter image description here"></a></p>
  
  <p>... it works.</p>
  
  <p>But this does not fix my problem. I do need to use the cookie driver for session as the production website is running in 3 different datacenters to achieve high availability. Using the cookie for the session allows the user to hit any of the 3 servers and still continue with it's request without having to use any sticky session or any central session driver.</p>
  
  <p>Using the database as a driver—which is also in a cluster with HA—is not an option as this is a really high traffic website and that would be a write <em>per request</em> which doesn't sound appealing at all. I would like to prevent that at any cost.</p>
  
  <p>There is anyway this can be solved?</p>
  
  <p>I must say this is the backoffice of the website, but soon the user in the frontend will be able to also write more than 1024 characters in a textarea... so if I just change the driver for the backoffice doesn't help, as we will run into the same for our users.</p>