ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE2 Cookie Consent and PHP sessions

July 23, 2012 10:40am

Subscribe [2]
  • #1 / Jul 23, 2012 10:40am

    Scott Jones

    2 posts

    Hi all,

    I have a site with which I store certain data in the PHP session (not EE session) this was done for various reason but since having the Cookie Consent module installed unless the user allows cookies the PHPSESSION cookie does not get set.

    is there a work around for this or a way to enable to PHPSESSION cookie to get set regardless of the cookie consent modules settings.

    I looked into it and the EU law states that essential cookies (eg sessions) are allowed regardless of cook settings

    Thanks in advance

  • #2 / Aug 07, 2012 1:41pm

    FountainInternet

    53 posts

    The regulations don’t define session cookies as “essential”. In most cases, you need to gain user consent before setting cookies, regardless of whether they’re session-based or not.

    Whether your cookies can be defined as “essential” depends on what you’re using them for. The most commonly cited example of an essential cookie is one that is used to store the state of a user’s shopping cart. I would imagine that most cookie use could not be classed as essential, e.g. analytics, etc.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases