How to store user id in the Laravel session table
Sometimes you want to store the user id with the session so you can purge all sessions or even a single session creating a more secure system for your users, or maybe you want to see how many times a user is logged in. There are many use cases but it...
alex.bouma.blog2 min read