// === 以下配置需要 webman-framework>=1.3.14 workerman>=4.0.37 ===
'auto_update_timestamp' => false, // 是否自動刷新session,默認關(guān)閉
'lifetime' => 7*24*60*60, // session過期時間
'cookie_lifetime' => 365*24*60*60, // 存儲session_id的cookie過期時間
'cookie_path' => '/', // 存儲session_id的cookie路徑
'domain' => '', // 存儲session_id的cookie域名
'http_only' => true, // 是否開啟httpOnly,默認開啟
'secure' => false, // 僅在https下開啟session,默認關(guān)閉
'same_site' => '', // 用于防止CSRF攻擊和用戶追蹤,可選值strict/lax/none
'gc_probability' => [1, 1000], // 回收session的幾率
配置文件是這么說的,但是更新后,發(fā)現(xiàn)代碼沒有從配置文件獲取
webman/console v1.0.27 Webman console
webmozart/assert 1.11.0 Assertions to validate method input/output with nice error messages.
workerman/crontab v1.0.3 A crontab written in PHP based on workerman
workerman/webman-framework v1.3.19 High performance HTTP Service Framework.
workerman/workerman v4.0.39 An asynchronous event driven PHP framework for easily building fast, scalable network applications.