Answer the question
In order to leave comments, you need to log in
Delete old cookies in laravel?
Hello, tell me how to be.
Laravel site. We launched a mobile version, added 'domain' => '.site.com' in app/session.php so that there are common sessions on the m.site.com subdomain and the main site.
Now all users who used site.com (previously 'domain' => null in the settings) still have a cookie for the site.com domain, and .site.com is set for new ones. As a result, an invalid token is substituted and the site does not work. How do I remove cookies for site.com from all old users, and leave only .site.com
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question