Created
June 18, 2015 04:53
-
-
Save slav123/6ada347b8ec71a128359 to your computer and use it in GitHub Desktop.
CodeIgniter redis sessions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$config['sess_driver'] = 'redis'; | |
$config['sess_cookie_name'] = 'ci_session'; | |
$config['sess_expiration'] = 7200; | |
$config['sess_save_path'] = "127.0.0.1:6379"; | |
$config['sess_match_ip'] = FALSE; | |
$config['sess_time_to_update'] = 300; | |
$config['sess_regenerate_destroy'] = FALSE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment