CI 3.X 系列 session 设置 session 路径创建失败问
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = APPPATH.'system\session';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
COOKIE
$config['cookie_prefix'] = 'ipms_'; $config['cookie_domain'] = ''; $config['cookie_path'] = '/'; $config['cookie_secure'] = FALSE; $config['cookie_httponly'] = FALSE;
版权声明:
作者:超级管理员
链接:
https://apecloud.ltd/article/detail.html?id=6
来源:猿码云个人技术站
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
打赏
![/static/admin/img/weixin.jpg](https://www.apecloud.ltd/static/admin/img/weixin.jpg)
![/static/admin/img/zfb.jpg](https://www.apecloud.ltd/static/admin/img/zfb.jpg)
共有0条评论