title: Laravel flash session truncates session
body: <p>I am using db session in <code>Laravel 5.2</code>. While passing data to view I am using flash session. Session gets destroyed in below case. </p>
  
  <pre><code>        $data = $currentStockTable::select('*')-&gt;where('id',$current_id)-&gt;first();
          Session::flash('preview', $data-&gt;preview);
          Session::flash('content', $data-&gt;content);
          Session::flash('author', $data-&gt;author);
  </code></pre>
  
  <p>on view</p>
  
  <pre><code>&lt;textarea class="ckeditor form-control" id="content" name="content" rows="10"&gt;{{ Session::has('content') ? Session::get('content') : '' }}&lt;/textarea&gt;  
  </code></pre>
  
  <p>The content data is having string and image encoded data. This content data results into destroy session (logged out user). When I dont pass content data (or pass only string) then it works correctly.</p>
  
  <p>This issue is not coming on dev environment. Did I missed any configuration parameter for live ?</p>
  
  <p>Session config in session.php</p>
  
  <pre><code>'driver' =&gt;  env('SESSION_DRIVER', 'database'),
  'lifetime' =&gt; 720,
  'expire_on_close' =&gt; false,
  'encrypt' =&gt; false,
  'files' =&gt; storage_path('framework/sessions'),
  'connection' =&gt; null,
  'table' =&gt; 'sessions',
  'lottery' =&gt; [2, 100],
  'cookie' =&gt; 'laravel_session_admin',
  'path' =&gt; '/',
  'domain' =&gt; env('SESSION_DOMAIN', null),
  'secure' =&gt; true,
  </code></pre>
  
  <p>Please help.</p>