I went through the problem when i starting the session on php. It gave an error saying that
Warning: session_start() [function.session-start]: Cannot send session
cookie – headers already sent by (output started ...
Solution for this Error
It’s a problem with the cookie. Go to your browser and delete your cookies else delete the cookies for the specific website manually.
Then close the browser and open. Now it will work fine.