[resolved] Warning: session_start(): Cannot send session cache limiter - headers already sent

"Headers already sent" means that your PHP script already sent the HTTP headers, and as such it can't make modifications to them now.




  • make sure that session_start the first thing you do in your PHP file 

  • you must enclose the start_session() command in php tags at the beginning of my script and then started a new php tag for the rest of the code.

Solution :

 <?php  
 session_start();  
 ?>  
 <?php   
 code here......  
 ?>  

Not the answer you're looking for? Please comment
[resolved] Warning: session_start(): Cannot send session cache limiter - headers already sent [resolved] Warning: session_start(): Cannot send session cache limiter - headers already sent Reviewed by Unknown on 9:10 AM Rating: 5

No comments:

Powered by Blogger.