'PHPSESSID', // SESSION_ID的提交变量,解决flash上传跨域 'var_session_id' => '', // 驱动方式 支持file cache redis 'type' => 'file', // 过期时间 'expire' => 1440, // 前缀 'prefix' => '', 'save_path' => '/www/wwwroot/tp/runtime/admin/session', // 缓存配置 'cache' => [ 'expire' => 1440, 'prefix' => '', ], ];