title: Laravel 5.5 The page has expired due to inactivity error while sending form
body: <p>I'am using laravel 5.5 and it gives me that "The page has expired due to inactivity. Please refresh and try again." This is awkward because I never encounter this error. Same codes but different laravel version..</p>
  
  <p>My form;        </p>
  
  <pre><code>{!! Form::open(['url'=&gt;'admin/save-social']) !!}
  {{ Form::label('pinterest', 'Pinterest;', ['class' =&gt; 'control-label']) }}
  {{ Form::text('pinterest', null, ['class' =&gt; 'form-control'])}}
  {{ Form::label('linkedn', 'Linkedn;', ['class' =&gt; 'control-label'])}}
  {{ Form::text('linkedn', null, ['class' =&gt; 'form-control'])}}
  {{ Form::label('facebook', 'Facebook;', ['class' =&gt; 'control-label']) }}
  {{ Form::text('facebook', null, ['class' =&gt; 'form-control']) }}
  {{ Form::label('twitter', 'Twitter;', ['class' =&gt; 'control-label']) }}
  {{ Form::text('twitter', null, ['class' =&gt; 'form-control']) }}
  {{ Form::label('instagram', 'İnstagram;', ['class' =&gt; 'control-label']) }}
  {{ Form::text('instagram', null, ['class' =&gt; 'form-control']) }}
  {{ Form::submit('Save', ['class'=&gt;'btn btn-success btn-lg btn-block']) }}
  {!! Form::close()!!}
  </code></pre>
  
  <p>And <code>config/session.php</code></p>
  
  <pre><code>&lt;?php
  
  return [
      'driver' =&gt; env('SESSION_DRIVER', 'file'),
      'lifetime' =&gt; 120,
      'expire_on_close' =&gt; false,
      'encrypt' =&gt; false,
      'files' =&gt; storage_path('framework/sessions'),
      'connection' =&gt; null,
      'table' =&gt; 'sessions',
      'store' =&gt; null,
      'lottery' =&gt; [2, 100],
      'cookie' =&gt; env(
          'SESSION_COOKIE',
          str_slug(env('APP_NAME', 'laravel'), '_').'_session'
      ),
      'path' =&gt; '/',
      'domain' =&gt; env('SESSION_DOMAIN', null),
      'secure' =&gt; env('SESSION_SECURE_COOKIE', false),
      'http_only' =&gt; true,
      'same_site' =&gt; null,
  ];
  </code></pre>