summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-08-30 22:20:25 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-08-30 22:20:25 +0200
commit20ff7666f11f19c39cd91bd42a3b88293b8e9a26 (patch)
tree5f44431ee154cba83684712eaf7bf984d7e5e217 /application/config/config.php
parentff1c1254c60867763f4e3cc8e4a001137406a7f6 (diff)
parentf8f36db2d967efe8178b78a59ead14c05f50dc12 (diff)
Merge pull request #1749 from dchill42/sess_config
Added session driver config items
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 28fc406d1..eaccbf75e 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -265,6 +265,9 @@ $config['encryption_key'] = '';
| Session Variables
|--------------------------------------------------------------------------
|
+| 'sess_driver' = the driver to load: cookie (Classic), native (PHP sessions),
+| or your custom driver name
+| 'sess_valid_drivers' = additional valid drivers which may be loaded
| 'sess_cookie_name' = the name you want for the cookie
| 'sess_expiration' = the number of SECONDS you want the session to last.
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
@@ -278,6 +281,8 @@ $config['encryption_key'] = '';
| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
|
*/
+$config['sess_driver'] = 'cookie';
+$config['sess_valid_drivers'] = array();
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;