summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-07 18:30:30 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-07 18:30:30 +0100
commit789b1fe3e78f59cdb35ac5e6cf7166f6b97436c7 (patch)
tree43a64b6b9fd29d7934f4bd423a2fe7e13b791574 /application/config
parentcb28c896fe883a373a906d5c6ef8c71c0b2ae999 (diff)
Add 'sess_regenerate_destroy' setting
Diffstat (limited to 'application/config')
-rw-r--r--application/config/config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 1e399590b..5b60ae92a 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -344,6 +344,12 @@ $config['encryption_key'] = '';
|
| How many seconds between CI regenerating the session ID.
|
+| 'sess_regenerate_delete'
+|
+| Whether to destroy session data associated with the old session ID
+| when auto-regenerating the session ID. When set to FALSE, the data
+| will be later deleted by the garbage collector.
+|
| Other session cookie settings are shared with the rest of the application,
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
@@ -354,6 +360,7 @@ $config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
+$config['sess_regenerate_destroy'] = FALSE;
/*
|--------------------------------------------------------------------------