Check out this section : https://laravel.com/docs/8.x/session#database
Sep 9, 2021
2
Level 4
read subdomain session value from DB
I have a LOGIN laravel app under a subdomain, which open login writes to sessions table using session driver as database. The DATA app uses same laravel APP_KEY and as I understand it should be able to see and read the session info set by LOGIN app. Question is how do I read the session info set by LOGIN app in my DATA app.
Session::all() return null, $_COOKIE['id'] return an id that is different from LOGIN app. and my sessions table only have one entry from the LOGIN app.
Thank you
Please or to participate in this conversation.