// +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | 会话设置 // +---------------------------------------------------------------------- return [ 'id' => '', // SESSION_ID的提交变量,解决flash上传跨域 'var_session_id' => 'session_flash_id', // SESSION 前缀 'prefix' => 'smart', // 驱动方式 支持redis memcache memcached 'type' => '', // 是否自动开启 SESSION 'auto_start' => true, //天时间不重复登录 5 天 'expire' => 432000, ];