Arr::get($config, 'secure', false),
// true
Arr::get...($config, 'http_only', true)
));
}
}
// 检查是不是cookie存储作为handler,这里是使用...,则在Store构造函数中使用setId()设置$id值
//看下Store::setId()源码就知道id是随机生成的长度为40的字符串
Str::random(40) = $session->getId...)
// 就默认值false
false = Arr::get($config, 'secure', false)
(7) Arr::get($config, 'http_only', true)
//...就默认值true
true = Arr::get($config, 'http_only', true)
这里输入路由sentry.app:8888/session(在本地环境配置你的路由)简单输出个字符串