Main concepts

Saving user selection

User selection regard cookie use are saved in a cookie with default name cookie_consent.

Example of cookie_consent value could be:

optional=-1|social=2013-06-04T03:17:01.421395

In above example user declined cookie group with optional varname and accepted cookie group social with all cookies created before stated timestamp.

Caching

To avoid hitting database for each request, non required cookies and cookie groups are cached.