Laravel's Session is not working in sub domain

Job ID: 31973988

Budget: $2 – $8 USD

I have an e-Commerce website developed with Laravel 8, it has sub domain route system. Once a user create account here he/she get a url with his store name. If he/she logged in then the session is active for root domain but when he visit his the store page like subdomain.example.com then the session not working. Please help me to solve the problem.
Related categories: PHP Software Architecture MySQL Laravel