title: Laravel - Auth Session not expiring after browser close
body: <p>I am having a problem about sessions, or cookies, I didn't understand the reason.</p>
  
  <p>I log on to my site with <code>Auth::attempt($userdata, false)</code>, which means Laravel should not remember my login, but it remembers whether I use true or false in attempt function.</p>
  
  <p>in <code>app/config/session.php</code>, variables are determined as</p>
  
  <pre><code>'lifetime' =&gt; 120,
  
  'expire_on_close' =&gt; true,
  </code></pre>
  
  <p>Also, when I log in with <code>Auth::attempt($userdata, true)</code>, <code>'Auth::viaRemember()'</code> function returns <code>false</code>.</p>
  
  <p><strong>Edit:</strong> Question solved. Cause of the problem is Chrome. See my answer for detailed information.</p>