Online Shopping : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to
Did You Find This Entry Useful?

72 of 141 people (51%) answered Yes
Recently 7 of 10 people (70%) answered Yes


Cannot send session cookie - headers already sent by

Dec 26th, 2005 06:44
Praveen Kumar Kukkapalli, s m, nguyen tien dan,

Most common reason for this error is extra empty lines at the end of 
your php file. Delete those, and the error should not appear, as long 
as you have not made any other errors within your script.
Hope you are using the session_start() at the tp before outputting
anything to the browser. If you ourput before registering session then
it will not be registered.