Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

Cookie Consent Module in EE 2.5

Along with the EE 2.5 release, EllisLab also released a new first party module to help EE developers make their websites compliant with the EU cookie legislation.

What is the Cookie Consent Module?

The Cookie Consent Module gives developers the option of disabling all cookies unless the site visitor specifically opted into them. Without the Cookie Consent Module disabling all cookies was not possible.

Without consent for cookies, visitors are unable to register for a member account or log in to their account.

Visitors can grant consent to cookies in two ways (from the docs):

The module makes two means of granting consent available: a direct link that can be used anywhere and form field that can be included on login and registration pages. Removing permission to set cookies is also provided for via a link.

You can find code samples and the available variables in the Cookie Consent Module documentation.

Does the module come with ExpressionEngine?

No. It is a free download from the ExpressionEngine Add-on Repository.

Posted on May 08, 2012 by Ryan Irelan

Filed Under: EE Add-ons, ExpressionEngine 2