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

ahmeda's avatar

How to avoid session killer when upload the changes?

I'm using Laravel with AWS the way that I upload the project is by ELB, code commit, and pipeline! everything is worked perfectly, but when I upload the changes that I made in local via git push the users that already login in my app all of them log out automatically! and they should login again!

How can I avoid this killing session!?

0 likes
5 replies
tykus's avatar

What are you using for a session driver? Some persistent storage should perserve the session

1 like
ahmeda's avatar

@tykus

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120

Please or to participate in this conversation.