I'm having trouble with Laravel sessions.
I can't seem to get Laravel session data to work.
- Open 2 tabs with different pages on my project
- Clear session data
- Reload tab 1 and all session data (errors) are fine
- Reload tab 2 (Simple GET request)
- Return to tab 1 and no errors are getting displayed anymore no matter how many times I try.
I use Laravel Framework version 5.2.39.
Routes are in "web" middleware group by default.
Session directory has 777 rights.
I have checked almost every Google result regarding this issue.
Update:
I have found out that if I change 'encrypt' => true, to 'encrypt' => false, in config/session.php it works as intended..
Any ideas why is this happening?