title: Laravel Auth::onceBasic() remembering authentication
body: <p>I'm trying to do something similar to here, but not for an API: <a href="https://stackoverflow.com/questions/16415369/fully-disable-cookies-in-laravel-4-api/21717582#21717582">Fully disable cookies in Laravel 4 API</a></p>
  
  <p>Basically, I have a login section where users can download specific files and do other stuff. Before they can download, I want them to have to enter the username &amp; password again as an additional security (think the same way some banks will do for you to download your statements.) My standard auth is working fine. I've managed to implement <code>Auth::onceBasic()</code> okay, but it's remembering I'm logged in and won't ask me more than once (even on closing the browser!). </p>
  
  <p>That's when I found the above link about setting the <code>session.driver</code> to <code>array</code>, but it doesn't seem to work. I've turned off my primary login so that the <code>Auth::onceBasic()</code> is the only authentication and it is still remembering me when I visit the page more than once. </p>
  
  <p>Here's my code:</p>
  
  <p><strong>routes.php:</strong></p>
  
  <pre><code>Route::get('downloads/{file}', 'DownloadsController@show')-&gt;before('auth.basic');
  </code></pre>
  
  <p><strong>filters.php:</strong></p>
  
  <pre><code>Route::filter('auth.basic', function()
  {
      Config::set('session.driver', 'array');
      return Auth::onceBasic();
  });
  </code></pre>
  
  <p>...and finally <strong>DownloadsController:</strong></p>
  
  <pre><code>public function show($id)
  {
      dd(Session::all());
  }
  </code></pre>
  
  <p>my output shows the session as an array and empty, but it's still acting like it's authenticated so I'm not sure where I'm going wrong. I've tested in chrome and firefox with the same results. </p>