|
楼主 |
发表于 2017-6-2 11:31:26
|
显示全部楼层
$config['sess_driver'] = 'redis';
$config['sess_cookie_name'] = 'xxx';
$config['sess_expiration'] = 7200;
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update'] = 1800; //用户多久没有操作,在操作时重新生成SESSION
$config['sess_regenerate_destroy'] = FALSE;
//session配置
$config['sess_save_path'] = 'tcp://ip地址:6379?auth=xxx&database=15&prefix=xxx'; |
|