Harborn-digital / cookie-consent-bundle

Symfony bundle to append Cookie Consent to your website to comply to AVG/GDPR for cookies.
MIT License
18 stars 16 forks source link

Feature request: cookie prefix in parameters #75

Closed Nenuial closed 1 year ago

Nenuial commented 3 years ago

Thanks for the bundle it works great.

It would be nice to be able to set a cookie name prefix. For example when you use it with FOSHttpCache, cookies that don't have a certain prefix get stripped in the render_esi request and then cookie consent banner never disappears.

I worked around it by using "Cookie_" as my prefix, but being able to easily change the cookie name parameter would be a nice addition.