Skip to content

Commit

Permalink
Added session driver config items
Browse files Browse the repository at this point in the history
Signed-off-by: dchill42 <dchill42@gmail.com>
  • Loading branch information
dchill42 committed Aug 30, 2012
1 parent ff1c125 commit ac740ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/config/config.php
Expand Up @@ -265,6 +265,9 @@
| 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.
Expand All @@ -278,6 +281,8 @@
| '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;
Expand Down

0 comments on commit ac740ab

Please sign in to comment.