Apr 11, 2017
0
Level 4
Dynamic session config
Hello!
I'm trying to set up the session.cookie value dynamically, and can not find a way.
I've tried setting up a new provider extending \Illuminate\Session\SessionServiceProvider and even moving it down on app.providers, but nothing works.
Sessions seem to be booted very early on the request, so I don't even have access to the DB from which I need to extract the data to set up session.cookie.
Does anyone knows a way to achieve this? Thanks!
Please or to participate in this conversation.