解决php中Cannot send session cache limiter 的问题的方法
2013-10-28 11:02
686 查看
今天页面写js的时候,气死我了,因为我的页面写了seesion_start(),因为不知道么,所以我的js在session_start()之前报错,郁闷坏了,嘿嘿,殊不知,
方法一:session_start前面不能有html的代码,小知识点在写php的时候
很难注意到哦
错误信息:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
如果已经写在seesion_start前面依然有报错的话可以写成
方法二:修改php.ini中的 session.auto_start = 0 为 session.auto_start = 1
方法一:session_start前面不能有html的代码,小知识点在写php的时候
很难注意到哦
错误信息:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
如果已经写在seesion_start前面依然有报错的话可以写成
方法二:修改php.ini中的 session.auto_start = 0 为 session.auto_start = 1
相关文章推荐
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- 解决php中Cannot send session cache limiter 的问题的方法
- php session_start()关于Cannot send session cache limiter - headers already sent错误解决方法
- php session_start()关于Cannot send session cache limiter - headers already sent错误解决方法
- php session_start()关于Cannot send session cache limiter - headers already sent 错误解决方法
- Cannot send session cache limiter - headers already sent错误解决方法
- Cannot send session cache limiter问题解决
- 关于Cannot send session cache limiter - headers already sent错误解决方法
- 关于Cannot send session cache limiter - headers already sent错误解决方法
- Cannot send session cache limiter - headers already sent错误解决方法
- 关于Cannot send session cache limiter - headers already sent错误解决方法 【转】
- session_start()关于Cannot send session cache limiter - headers already sent错误解决方法
- Cannot send session cache limiter - headers already sent 的php错误怎么解决?
- 解决Cannot send session cache limiter - headers already sent问题