Support the ongoing development of Laravel.io →
Session Architecture Installation

Hi Guys,

Session values are not set in the middleware in the version 5.1.49. As of now, Session works properly with Auth and controllers but not only in Middleware. And here laravel sessions are maintained in the database. Normal Php sessions works good, but it would be a sticky session.

I just checked stackoverflow links and forum links. But still the problem exists. Any other solutions other than from these links ? https://github.com/laravel/framework/issues/13000

http://laravel.io/forum/02-01-2016-laravel-52-auth-not-workingsession-not-persisting

Is this definitely need Laravel update ? If I update, whether code breaks with the latest version. No changes in the core made. But I am not sure, it wont create a dependency issue for other installed packages.

Thanks

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Nandakumar nandakumar Joined 22 Sep 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.