diegolamonica / EUCookieLaw3

9 stars 1 forks source link

Cookies are not deleted when consent is initially granted and then revoked #11

Open illtellyoulater opened 6 years ago

illtellyoulater commented 6 years ago

Hi Diego, I've observed that if I give consent to cookies and then I revoke the consent, the cookies will not be deleted. This has been confirmed by other people using the plugin at our business. Another developer also told me that he tried to contact you personally and that you said that you are already aware of this problem, and that you were working on it. But, 1 month has already passed without any changes to the code, and I'd like to know if you think you will have time to make the required changes anytime soon, because if not we will have to switch to another plugin. Not trying to push you, just I'd like to know so I can make the correct choice. Thanks a lot!

HartLarsson commented 6 years ago

the problem is confirmed.

With all enabled : image

after disabling SmartSupp the ssupp. and SLC cookie are present anyway.

diegolamonica commented 6 years ago

Hi @HartLarsson this is due on how the cookies works, Javascript has no access to the ones generated from other domains or http-only cookies.

diegolamonica commented 6 years ago

However, just to reply to you worries, soon will come new updates.

illtellyoulater commented 6 years ago

Thanks @diegolamonica, really looking forward to that! 👍

diegolamonica commented 6 years ago

If someone has a JavaScript solution to remove cookies generated outside the domain is using this library is wellcome! :-)

HartLarsson commented 6 years ago

cookiebot in some way deletes remotew cookie. For me is a mistery because for what i know is impossible from javascript. Maybe you can find out a function to do a work-around :)

there is an interesting function here too: https://stackoverflow.com/a/2421786/3875123