PROGRAMMING/PHP

[PHP] session_start(): Cannot send session cookie -

OJR 2009. 12. 12. 20:05


PHP Warning:  session_start(): Cannot send session cookie
          - headers already sent by (output started at /home/**hp:2) in /home/** on line 6
PHP Warning:  session_start(): Cannot send session cache limiter 
          - headers already sent (output started at /home/**hp:2) in /home/****hp on line 6

php에 error log 에 위와 같이 남으면

세션을 가장 위에 선언을 해줘야 한다.


http://blog.naver.com/hongjae83/150034430793