Home

Awesome

Cookie domain cleaner   Latest Stable Version License: MIT

This Magento 2 module will clean cookies from parent domains gradually while navigating on the site on a subdomain.

Its main purpose is to allow the hosting of several environments of a site on the same domain name while avoiding cookie conflicts with subdomains.

For instance, when navigating on subdomain.my-site.com, each time a cookie is defined, it will be deleted from my-site.com if there are duplicates.

Installation

composer require blackbird/cookie-domain-cleaner
php bin/magento setup:upgrade

Alternatives

There are 3 ways to solve similar issues :