Level 18
Looks like you have the answer already on your same StackOverflow post here https://stackoverflow.com/a/71356176/610880
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I just deployed an application using docker to vapor. The app is up but I am never able to persist a session because when I log csrf_token() method in my service provider boot method, every time a request gets through and the app gets booted it's a new csrf token. I have searched for days why this could happen but haven't gotten any explanation. Any help would be appreciated.
I have set the SESSION_LIFETIME variable on the .env but it does not change anything
Please or to participate in this conversation.