W
W
WebDev2016-05-23 14:58:26
Laravel
WebDev, 2016-05-23 14:58:26

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

1 answer(s)
I
Ilya, 2016-05-24
Hrebet @hrebet

After all, the mobile version does not yet carry Direct traffic, users somehow get to the upper domain, and there you can also reset cookies (if any) taking into account the new path, before the redirect itself. :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question