ITADN

[5.x]: DbSession fix for headers already sent bug

#19139Opencharliegrinsted 创建于 2026-06-21
bug
C
charliegrinstedcommented
### What happened? ### Description We use database sessions for the majority of our sites and accordingly use the Yii DbSession class, overridden via config/app.php [This commit](https://github.com/craftcms/cms/commit/1506c09ee01b3af98a8d4fd67519b8c9260ff2f7) fixed an issue that prevents a session being opened if the headers were already sent. However, Craft doesn’t currently have an equivalent DbSession class wrapping the Yii one. Is there any scope for adding an equivalent with the same fix? ### Craft CMS version 5.10.5 ### PHP version 8.5 ### Operating system and version _No response_ ### Database type and version _No response_ ### Image driver and version _No response_ ### Installed plugins and versions
1 条评论