title: Laravel - destroy existing sessions on login
body: <p>Is there a way to check if a user already has a valid session on a different machine? </p>
  
  <p>What I want to do is when a user logs in, destroy an other sessions which they may already have, so that if they forget to logout from a computer say on campus or at work, and then they log in at home, it will  destroy those other 2 sessions so they are no longer logged in?</p>
  
  <p>Facebook employs this in some way.</p>
  
  <p>My only thoughts so far is something to this effect:</p>
  
  <pre><code>$user = User::find(1); // find the user
  Auth::login($user); // log them in 
  Auth::logout(); // log them out hoping that it will destroy all their sessions on all machines
  Auth::login($user); // log them in again so they have a valid session on this machine
  </code></pre>
  
  <p>I have not had the chance to test this, and I do not know if <code>Auth::login($user);</code> will destroy all sessions for that user, or only the current one.</p>
  
  <p>Thanks!</p>