Friday, March 16, 2018

Laravel 5.6 session is not persistant after update from 5.5 - development

Laravel 5.6 session is not persistant after update from 5.5

I updated the Laravel Framework for my App from 5.5 to 5.6 and since then I just can’t get the session persistent.

The problem is, I always get the error “Page expired”, when making a post request (e.g /login), so it’s something about CRFS- Token since I send it correctly with the request I checked my DB where I save the sessions, I recognized that every try a new session is generated.

I tried to set the config/session.php to the original,
delete the browser cache/cookies,
I checked my Kernel and Middleware if something changed for 5.6,
and a lot more but without success.

Any Idea what I don’t see?



from Laravel Questions and Answers https://laravelquestions.com/php/laravel-5-6-session-is-not-persistant-after-update-from-5-5/
via Lzo Media

No comments:

Post a Comment