warning: session_start(): cannot send session
warning: session_start(): cannot send session cache limiter
echo "Homen
";
session_start();
Warning: session_start(): Cannot send session cache limiter
想知道为什么session_start();加一句就会出现警告消息
session_start(): 放在文件开始 试试
Note: If you are using cookie-based sessions, you must call session_start() before anything is outputted to the browser.
如果你正在使用基于cookie的sessions,不要在session_start前面输出任何东西都浏览器每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号