I'm currently using the database session driver to store my sessions in Laravel.
I understand that the user sessions are stored in the database, but does the data from a Session::put get stored?
For example:
Session::put('userID', $user->id);
Where is the data about the userID being stored?
Under default settings your sessions are stored in a table called 'sessions' in your default database connection.
Each session will have a payload which contains all sorts of data, but your userID will be in the payload for your session's row somewhere.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With