当前位置:Gxlcms > PHP教程 > Warning:session_start():Cannotsendsession_PHP教程

Warning:session_start():Cannotsendsession_PHP教程

时间:2021-07-01 10:21:17 帮助过:26人阅读

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前面输出任何东西都浏览器

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632469.htmlTechArticleWarning: session_start(): Cannot send session Warning: session_start(): Cannot send session cache limiter echo a href='../home.php'Home/anbr /; session_start(); Warning: session_sta...

人气教程排行