Laravel 5.4 multiple session files on mobile browser - development

Laravel 5.4 multiple session files on mobile browser

I’m using the default authentication system of laravel 5.4, make:auth. On my computer everything runs fine, I can login, my session keep stored and I can access all jobs.

My problem starts with mobile browsers.

When I try to access login in my android smartphone I receive a new session file in the storage folder each time I’m redirected.
Inside the login controller I can access the Auth:user(), but when I try to run a job on a new route my Auth:user() is null.
I’ve tried to change my session.php settings,all my routes are in the ‘web’ middleware group, it’s not duplicated I checked with ‘artisan route:list’.
It doesn’t matter which driver I use in session this problem persist.

Everything looks fine, my website runs smooth on a pc browser, I’m just facing this problem on mobile devices, I’ve tried on a android, iphone and tablet(android) all of them have the same issue.
Anyone have a clue on what is causing this issue?



from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-5-4-multiple-session-files-on-mobile-browser/
via Lzo Media

Comments

Popular posts from this blog

HTTP 401 Unable to create record Twillio PHP sdk 5.16 - development

ng-include of inline SVG does not display gradient except in Chrome

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development