Closed (works as designed)
Project:
EU Cookie Compliance (GDPR Compliance)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2014 at 23:35 UTC
Updated:
16 May 2014 at 21:03 UTC
Jump to comment: Most recent
Comments
Comment #1
Yorgg commentedComment #2
tercerob commentedSame problem.
EU Cookies create a SESSxxxx cookie. Im not sure why it is necessary... This is the reason that Varnish fail.Ok, EU Cookies sets a cookie named "cookie-agreed-es"
So, you need to say to Varnish to ignore this cookie, so caching dont break.
In my case this is the line:
set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+|has_js|NO_CACHE|cookie-agreed-es|Drupal.toolbar.collapsed|Drupal.tableDrag.showWeight)=[^;]*", "");
Its not a module problem. Its necesary to configure Varnish correctly.
Comment #3
svenryen commentedClosing this one, since it can be fixed/solved in Varnish configuration.