Saving cookies allows websites to remember your preferences. You may be wondering why lately more and more websites are warning you that they store cookies, even requiring you to agree by clicking on their link, usually titled "I Got It", to remove the annoying pop-up message. The window also allows you to see relevant information about all of this. The answer lies in a new law passed under the European Union's e-Privacy Directive.
Specifically, the law states:
a person may not store or gain access to stored information in the terminal equipment of a subscriber or user unless the requirements of paragraph (2) are met.
(2) The requirements are that the subscriber or user of that terminal:
(a) has clear and detailed information about the purposes of the storage or access in this information, and
(b) has given his / her consent.
6 Privacy Policy and Electronic Communications Regulations 2003 (PECR) [2003 Privacy and Electronic Communications Regulation]
The law essentially says that when people visit a website they store cookies in their browser, need to know about this storage. You should also be aware of the meaning of storing these coaches and they should agree in this.
There are exceptions to the law. When storing a cokkie is absolutely necessary, for example without saving the cokkies you can not use a web page service, the website does not have to ask for your consent to store a cokkie. It is assumed that you accept it by using the site or its service. For example; Enter Amazon without logging in and add different items to your shopping cart. Then leave the page and when you come back the next day and log in you will see that in your cart there are still those items. The products you have selected are stored in the boxes.
But there is also the good news that website and third-party advertising cookies are not exempt from the law and will require user approval to be stored on Browser of.
You can read the comprehensive directive issued by the International Bureau of the Commissioner from here.