L
L
lavezzi12018-06-13 09:00:52
JavaScript
lavezzi1, 2018-06-13 09:00:52

What exactly happens when you close the cookie dialog?

Hello. It is necessary to implement a dialog about the use of cookies. I noticed on sites where there is such a dialog that when this dialog is closed, thereby giving permission to use cookies, a bunch of cookies are inserted into document.cookie.
What exactly is going on? Are there ready-made examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2018-06-14
@lavezzi1

the law is old. As far as I remember, not all cookies are mentioned there. Service cookies necessary for the operation of the site, you can write without asking permission and regardless of the consent of the user. Those. A cookie indicating that the user has denied setting cookies is a service cookie and can be written in any case. And you ask permission to record some kind of cookie related to personal data or something like that, or advertising, or something else to track the user (including affiliate targeted advertising, social network plugins, etc.) . The main goal of the law is to respect the privacy of the user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question