How to Use Cookie in Magento 2

    In this article, we learn how to Create a cookie in Magento 2 We will create a test controller to create cookie : app/code/[Name_Space]/[Your_Module]/Controller/Cookie/Addcookie.php

1.Read Cookie We will create a Readcookie.php controller to create cookie : app/code/[Name_Space]/[Your_Module]/Controller/Cookie

2.Delete Cookie We will create a Deletecookie.php controller to create cookie : app/code/[Name_Space]/[Your_Module]/Controller/Cookie

[…]

Read More