title: CodeIgniter - No cookies to be set unless agreed to by the visitor
body: <p>Is there a simple way to make sure no cookies are set by CodeIgniter (ci_session) unless agreed to by the visitor?</p>
  
  <p>"In the UK a new Cookie Regulation officially announced on 20th May 2011 and will be enforced from May 2012 that website owners must gain a visitor’s consent that they will be tracked by cookies on that website."</p>
  
  <p>Many thanks!</p>
  
  <p><img src="https://i.stack.imgur.com/UrDyw.png" alt="enter image description here"></p>