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.

Type: Discussion
Status: Resolved
deoldphart
View Replies:
guyasyou replied on at Permalink Reply
guyasyou
Live demohttps://dev.pure-web.ru/our-packages/pure_cookies_notice... is having the same problems for you?
deoldphart replied on at Permalink Reply
deoldphart
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.
guyasyou replied on at Permalink Reply
guyasyou
I think it is a cache. Try to disable block caching for this block
deoldphart replied on at Permalink Reply
deoldphart
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.
guyasyou replied on at Permalink Reply
guyasyou
You can disable caching only for one block - Edit mode -> Context menu of block -> Advanced -> ...

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 10.3.27-MariaDB-log-cll-lve
SQL Mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Cloneamental (0.9.3), Cookies Notice (1.3.2), GDPR Cookie Notice (1.0.1), Simple Nav Menu (1.1.1), Touch Gallery 3 (3.3.0), Webli Content PopUp (2.3)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Only when manually removed or the cache is cleared.

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
5.6.40

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, litespeed, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 256M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
ic24.api.max_timeout - 7
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 7963
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.