top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

PHP Error: Warning:session_start() : cannot send session cookie - headers already sent by

+1 vote
33 views

Getting the following two error -
Warning:session_start() : cannot send session cookie - headers already sent by(output started at.......)
Warning:session_start() : cannot send session cache limiter - headers already sent by(output started at.......)

posted Mar 22 by Bhawna Kriplani

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
Where ever i put session_start i get that error don't know how to solve

1 Answer

0 votes

session_start() must be at the top of your source, no html or other output before like

<?php
@ob_start();
session_start();
?>

Also your can only send session_start() one time

Above should solve your issue.

answer Mar 22 by Salil Agrawal
Similar Questions
+5 votes

Description: You get a warning message on your browser that says:

Warning: Cannot modify header information - headers already sent by (output started at

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...