summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authordchill42 <dchill42@gmail.com>2012-08-30 16:49:28 +0200
committerdchill42 <dchill42@gmail.com>2012-08-30 16:49:28 +0200
commitac740abc89159fe24165105253ae6048888a16ee (patch)
tree8c52e16588817a93ba4fbb865e096ab7ea632160 /application
parentff1c1254c60867763f4e3cc8e4a001137406a7f6 (diff)
Added session driver config items
Signed-off-by: dchill42 <dchill42@gmail.com>
Diffstat (limited to 'application')
-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;