Safari ignoring the Ok cookie.
Permalink Browser Info Environment
I suspect this is a browser issue but perhaps you have some experience of the problem to give advice.
I have set the block in a global top menu area with the text and settings as I want them. The message pops up as expected and goes away on clicking "Ok". With Firefox, that 'sticks' and when I revisit the site I do not get the Cookie notice. With Safari, the cookie seems to be ignored and the cookie notice appears each and every time I visit the home page. Checking Safari preferences confirms that Safari think I have set a cookie, but it appears to be ignoring it.
That is on MacOS. On IOS both Safari and Firefox seem to ignore the set cookie and show the cookie notice every time I visit the page.
I'll have to pull the block off until I can get this sorted, so any advice would be appreciated. Thanks.
I have set the block in a global top menu area with the text and settings as I want them. The message pops up as expected and goes away on clicking "Ok". With Firefox, that 'sticks' and when I revisit the site I do not get the Cookie notice. With Safari, the cookie seems to be ignored and the cookie notice appears each and every time I visit the home page. Checking Safari preferences confirms that Safari think I have set a cookie, but it appears to be ignoring it.
That is on MacOS. On IOS both Safari and Firefox seem to ignore the set cookie and show the cookie notice every time I visit the page.
I'll have to pull the block off until I can get this sorted, so any advice would be appreciated. Thanks.
Type: | Discussion |
---|---|
Status: | Resolved |
Live demohttps://dev.pure-web.ru/our-packages/pure_cookies_notice... is having the same problems for you?
No problems with your demo site. That works as expected.
I have it installed on my 'problem' site right now (not a very busy site).
https://traditionalbamptonmorris.org.uk/index.php...
With Safari (and probably Firefox) you can dismiss the cookie notice with OK, but if you go to another page "Our History" it may pop up there again, and if you go back to "Home" it pops up there again. If you leave and come back it pops up again. I can see that the cookie is set. It just seems like the script is ignoring it.
I have it installed on my 'problem' site right now (not a very busy site).
https://traditionalbamptonmorris.org.uk/index.php...
With Safari (and probably Firefox) you can dismiss the cookie notice with OK, but if you go to another page "Our History" it may pop up there again, and if you go back to "Home" it pops up there again. If you leave and come back it pops up again. I can see that the cookie is set. It just seems like the script is ignoring it.
I think it is a cache. Try to disable block caching for this block
Thanks for that, guyasyou. I think the problem was the caching. I had caching turned on for everything because the site rarely changes (only when I edit it). I have now turned off all caching and the notice works as expected. Later I will turn caching back on selectively and carefully. Thanks for you prompt help.
You can disable caching only for one block - Edit mode -> Context menu of block -> Advanced -> ...