Cookies are not deleted if Decline button is clicked
- serguei_kp
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 years 5 months ago #60973
by serguei_kp
Cookies are not deleted if Decline button is clicked was created by serguei_kp
There is still one thing I can not understand how it works.
I've activated block iframes option.
I have three cookies of Google Analytics key(name) _gid and key(name) _ga, _gat
If I click in Cookies options on "Decline" one of them or "Decline all",
I can still see those cookies in the Application > Storage > Cookies of my Chrome browser after page reloading,
should they be deleted ?
There only the value of cookiesck changes to yes or no if I click "Decline all" or "Accept all" but cookies _ga, _gat and _gid are still there.
Thank you!
I've activated block iframes option.
I have three cookies of Google Analytics key(name) _gid and key(name) _ga, _gat
If I click in Cookies options on "Decline" one of them or "Decline all",
I can still see those cookies in the Application > Storage > Cookies of my Chrome browser after page reloading,
should they be deleted ?
There only the value of cookiesck changes to yes or no if I click "Decline all" or "Accept all" but cookies _ga, _gat and _gid are still there.
Thank you!
Please Log in or Create an account to join the conversation.
3 years 5 months ago #60974
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Cookies are not deleted if Decline button is clicked
Hi
Please give me the url of your page so that I can check
according to my tests, the cookies are deleted after refresh but sometimes some browser are still showing them in the console
CEd
Please give me the url of your page so that I can check
according to my tests, the cookies are deleted after refresh but sometimes some browser are still showing them in the console
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- serguei_kp
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 years 5 months ago #60976
by serguei_kp
Replied by serguei_kp on topic Cookies are not deleted if Decline button is clicked
Please Log in or Create an account to join the conversation.
3 years 5 months ago #61031
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Cookies are not deleted if Decline button is clicked
Hi
I can not reproduce the issue in my test website, but I see that you have a JS error in your page
that may interfer with the cookies script
CEd
I can not reproduce the issue in my test website, but I see that you have a JS error in your page
that may interfer with the cookies script
please check your web console and fix the error, then tell me if it worksUncaught SyntaxError: unexpected token: ':' fr:42:11
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
3 years 5 months ago #61056
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Cookies are not deleted if Decline button is clicked
Hi
I have checked that on a website where I was able to reproduce the same as you
if you don't agree, the cookie is not stored
if you agree, the cookie is stored
if you change your mind and you want to refuse the cookie later, its value will be updated so that it expires (this is the way to remove a cookie). BUT, in the browser, it can still be shown. I have noticed an information on Firefox for example :
hope it helps
CEd
I have checked that on a website where I was able to reproduce the same as you
if you don't agree, the cookie is not stored
if you agree, the cookie is stored
if you change your mind and you want to refuse the cookie later, its value will be updated so that it expires (this is the way to remove a cookie). BUT, in the browser, it can still be shown. I have noticed an information on Firefox for example :
This means that the cookie can not be stored anymoreThe cookie XXX has been rejected because it has already expired
hope it helps
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- serguei_kp
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
3 years 5 months ago #61060
by serguei_kp
Replied by serguei_kp on topic Cookies are not deleted if Decline button is clicked
Thank you Cedric, I will try to fix the js error.
Please Log in or Create an account to join the conversation.
Time to create page: 0.233 seconds