Created
February 29, 2016 10:41
-
-
Save MahdiMajidzadeh/05a06f7cc2624b119e48 to your computer and use it in GitHub Desktop.
Best Codeigniter session setting
This file contains 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
$config['sess_driver'] = 'files'; | |
$config['sess_cookie_name'] = 'ci_session'; | |
$config['sess_expiration'] = 0; | |
$config['sess_save_path'] = BASEPATH . 'cache/session/'; | |
$config['sess_match_ip'] = FALSE; | |
$config['sess_time_to_update'] = 0; | |
$config['sess_regenerate_destroy'] = FALSE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment