Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mbezdek's avatar

Session not persisting

Hi everyone! I have problem with saving sessions. In my Laravel (v5.2.29) with configuration Redis for session, sessions are not persiting automatically. When I put session (eg. Session::put('test', 5);) I must run Session::save() too for save it. Why? Where is a problem?

Thanks!

0 likes
3 replies
Mbezdek's avatar

No. It is not Redis error, but somewhere in the Laravel app, because session saving does not working with others driver (file, database etc.) too.

Know someone why? :/

Thanks.

tealiedie's avatar

any update on this? im having the same behavior.

Please or to participate in this conversation.