Some of you might know about the new EU cookie law. Basically, I have to ask for permission to store cookies on your computer. I am using WordPress on this blog and a couple of more website. The problem is, I am using NotCaptcha as an anti-spam measure. This plugin uses, just like my own Capatcha implementation I have used a couple of times on custom websites, uses a PHP Session to store the expected answer, server side. A PHP Session sets a cookie to identify the session.

Therefore I have installed the Cookie Control plugin, to display a notification message about the cookie usage.

The problem is, with this plugin enabled, a PHP session is started every time a page on my blog loads, which is, strictly speaking, in conflict with the new European regulations, as this cookie is being placed before you can click “I am happy with that” in the Cookie Control popup.