I have not installed this module because I am looking for a Drupal 6 solution. But I have tested the implementation at http://www.civicuk.com/cookie-law and found found that if cookies are disabled in the browser, the popup keeps on appearing on every page that you navigate to following the selection of the "I am happy with this button".

Comments

rivimey’s picture

That would seem an inevitable result of this module: the only way I know of to remember whether you have allowed cookies or not is to set a cookie, and logically it must be a "I have allowed cookies" because otherwise you're doing just what you said you wouldn't. So if you disable cookies in the browser, you can't set the cookie that says you don't mind the site using them, so you keep being asked.

I guess it *might* be possible to detect that the cookie saying you don't mind wasn't set, and thus warn the user that this situation has occurred?

Ruth

budda’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Category: bug » feature
Status: Active » Closed (won't fix)

To detect if cookies are enabled in a browser the process would be along the lines of:

set a cookie, redirect to another page, check if the set cookie exists, if no cookie then browser isn't accepting cookies.

But this is a faff when somebody visits your site. And you can't store the fact the browser wasn't accepting cookies so the redirection would have to happen all the time.

If you can provide some code or a link to a working idea i'd consider it. Until then I don't think it's worth spending time on.

dwigglesworth’s picture

I understand that there may be more important issues to consider other than this one. But, it is a pretty frustrating user experience to see a popup about setting cookies keep appearing when you have already specified to disable cookies in the browser.

I was thinking more along the lines of if cookies are disabled:

  • At least display a message to the user stating that by enabling cookies you will get a better experience...;
  • Or, show no popup at all.
rivimey’s picture

Just wondering, could the Cookie JS code call http://www.w3schools.com/jsref/prop_nav_cookieenabled.asp to detect if cookies are enabled, and disable itself entirely if this is not the case?

For a better implementation, assuming the above works, give the website owner the choice of a popup to say "I really need cookies on this site, could you enable them in your browser ?"

Ruth