Browse Source

Default database for sessions store

master
Rogier Neeleman 9 years ago
parent
commit
8c0de1a492
  1. 4
      application/config/config_example.php

4
application/config/config_example.php

@ -367,10 +367,10 @@ $config['encryption_key'] = '';
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here. | except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
| |
*/ */
$config['sess_driver'] = 'files'; $config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'session'; $config['sess_cookie_name'] = 'session';
$config['sess_expiration'] = 7200; $config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL; $config['sess_save_path'] = 'sessions';
$config['sess_match_ip'] = FALSE; $config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300; $config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE; $config['sess_regenerate_destroy'] = FALSE;

Loading…
Cancel
Save