swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 785 forks source link

SessionMiddleware bug #1452

Open zwyao314 opened 3 years ago

zwyao314 commented 3 years ago
Q A
Bug report? yes/no
Feature request? yes/no
Swoft version x.y.z (by php bin/swoft -V)
Swoole version x.y.z (by php --ri swoole)
PHP version x.y.z (by php -v)
Runtime environment Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Describe the bug A clear and concise description of what the bug is. Swoft\Http\Session\SessionMiddleware启用后session无法保存,// $this->storageSession($session);未启用

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Details

Describe what you are trying to achieve and what goes wrong.

// paste output here

Provide minimal script to reproduce the issue

// paste code