Permalink
Browse files

New config flags for cookie usage consent

  • Loading branch information...
1 parent b210256 commit 2db40ac32a3f8fa0d9f4845bb987c5ede3812476 @alexbilbie alexbilbie committed May 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 application/config/config.php
@@ -298,13 +298,15 @@
| 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
+| 'cookie_consent_required' = don't write any session cookies until the user has approved cookie use
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;
+$config['cookie_consent_required'] = TRUE;
/*
|--------------------------------------------------------------------------

0 comments on commit 2db40ac

Please sign in to comment.