Laravel's Session in not working in sub domain

Job ID: 31980314

Budget: $250 – $750 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 HTML Laravel