频道栏目
首页 > 资讯 > Cookie&Session > 正文

session Cannot send session cache limiter 错误提示

16-01-07        来源:[db:作者]  
收藏   我要投稿

错误提示,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.phpfensi.com admin.php:1) in e:phpwww.phpfensi.comlogolistadminlogo.php on line 2

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

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

相关TAG标签
上一篇:关于使用session_start 出现的headers
下一篇:phpmyadmin登录模式为http
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站