Jquery中文网 www.jquerycn.cn
Jquery中文网 >  脚本编程  >  php  >  正文 session Cannot send session cache limiter 错误提示

session Cannot send session cache limiter 错误提示

发布时间:2019-03-18   编辑:www.jquerycn.cn
jquery中文网为您提供session Cannot send session cache limiter 错误提示等资源,欢迎您收藏本站,我们将为您提供最新的session Cannot send session cache limiter 错误提示资源

开始时经常会碰到如下提示

warning: session_start() [function.session-start]: cannot send session cache limiter - headers already sent (output started at e:php教程www.111cn.netadmin.php:1) in e:phpwww.111cn.netlogolistadminlogo.php on line 2

这是提供session前面己经有输出了,我们只要把session_start()放在最前面,同时最了为避免出错提供可以在前面加@,如@session_start();这样就可以了。

同时也可以在php.ini中修改session.auto_start = 0 为 session.auto_start = 1

就可以了。

 

您可能感兴趣的文章:
session Cannot send session cache limiter 错误提示
php Cannot send session cache limiter
Warning: session_start() [function.session-start]
php使用session提示Cannot send session cache
php提示”Cannot send session cache limiter
php报错:Cannot send session cookie – headers already sent by的解决方法
我学PHP--关于session_start()
关于使用 session_start 出现的 headers 
关于Session的问题集锦解决方案
Cannot send session cache limiter

[关闭]