summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorfreewil <sean@eternalrise.com>2012-03-14 03:37:42 +0100
committerfreewil <sean@eternalrise.com>2012-03-18 19:32:17 +0100
commit4ad0fd86e8dc6dba74305dbb0c88c593b46a19a2 (patch)
treece86c3c8958b2df033c873386f6f8261bc40b0eb /application
parente464b39b8594ef317cf5b47b4e130ee9f63e7bd5 (diff)
add support for httponly cookies
Diffstat (limited to 'application')
-rw-r--r--application/config/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 4ad9d1d6a..2ffbb6693 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -297,12 +297,14 @@ $config['sess_time_to_update'] = 300;
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| '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)
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;
+$config['cookie_httponly'] = FALSE;
/*
|--------------------------------------------------------------------------