Single Session Login in Laravel
I recently did this. My solution was to set the session value when a user logs in. Then I had a small class checking if the session ID stored is the same as the current user who is logged in. If the user logs in from somewhere else the session ID in the DB will … Read more