Asked by: scosu
We have a project which is created with Laravel 5.1. But we seem to have a problem with sessions.
With Laravel's Auth we are able to log in, but after a short while it logs out from user account. After some investigation we've found that it keeps creating new session on every request.
What we've tried so far:
- Session driver is file and changing it to database didn't solve the problem. It kept creating a new row at each request.
- Checked files for unnecessary spaces and new lines (as seen in here: https://stackoverflow.com/a/42636003/3219054)
- Changed session timeout values for laravel.
We can't run composer commands (except dump autoload) because of incompability problems. And upgrading to 5.4 is not an option as our agreement does not include it.
The server runs on nginx/1.11.9, with PHP Version 7.0.21 FPM/FastCGI.
My question is how can we stop it from kicking users out. Any help is appreciated.
No comments:
Post a Comment