- Changed the name of CI session from ci_session to sess_ci_session

- Changed CI session expiring time from 7200 to 1800 seconds
This commit is contained in:
Paolo
2019-02-05 10:49:08 +01:00
parent 2aacfd0cc7
commit 922d2367f2
+3 -2
View File
@@ -347,6 +347,7 @@ $config['encryption_key'] = '';
| 'sess_time_to_update'
|
| How many seconds between CI regenerating the session ID.
| NOTE: Keep it as it is to prevent security issues (https://en.wikipedia.org/wiki/Session_fixation)
|
| 'sess_regenerate_destroy'
|
@@ -359,8 +360,8 @@ $config['encryption_key'] = '';
|
*/
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_cookie_name'] = 'sess_ci_session';
$config['sess_expiration'] = 1800; // Session expires every 30 minutes
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;