I was working on a site and found these errors on when I use session_start function.

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/content/s/h/o/shojil/html/longagecables/admin/index.php:1) in /home/content/s/h/o/shojil/html/longagecables/admin/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/s/h/o/shojil/html/longagecables/admin/index.php:1) in /home/content/s/h/o/shojil/html/longagecables/admin/index.php on line 2

So I had already done much work on php and used this function almost hundred times. But this time I could not find the reason why it is sending warning message I google this problem but many sites suggest to put the seesion_start at top of file which I already know.

Then I found its solution from php.net site when I read all the solutions one solution was the correct solution which solved my problem on this page http://php.net/manual/en/function.session-start.php.

It was to make my editor ASCII from UTF-8 I did this and my error is resolved.

So I though to share this solution with all my visitors. And also to save this solution in my blog that it will not waste my time again.

13 Replies to “Cannot Send Session Cookie”

  1. gday xavia360.org blogger found your blog via Google but it was hard to find and I see you could have more visitors because there are not so many comments yet. I have found site which offer to dramatically increase traffic to your site http://cheap-mass-backlinks.com they claim they managed to get close to 4000 visitors/day using their services you could also get lot more targeted traffic from search engines as you have now. I used their services and got significantly more visitors to my site. Hope this helps 🙂 They offer best services to increase website traffic Take care. Richard

  2. Get up to 100000 forum backlinks with our backlinks service & massive targeted traffic

    Your xavia360.org website will get thousands of visitors/day using superb backlink service today. See proof how web traffic increased from 400 to 4000 visitors/day and how your website can get same results – http://get-more-web-traffic.net

    We can post your custom message up to 100’000 forums worldwide, so your site get insane amount of backlinks
    and as a result your website will be ranked #1 positions in search engines and your website will get incredible amount of free, targeted web traffic from search engines in very short time.

    Most affordable and most powerful service for web traffic and backlinks in the world!

    Are you ready to for massive traffic flood to your site? If yes then Order now: http://get-more-web-traffic.net

  3. After getting more than 10000 visitors/day to my website I thought your xavia360.org website also need unstoppable flow of traffic…

    Use this BRAND NEW software and get all the traffic for your website you will ever need …

    = = > > http://mass-autopilot-traffic.com

    In testing phase it generated 867,981 visitors and $540,340.

    Then another $86,299.13 in 90 days to be exact. That’s $958.88 a

    And all it took was 10 minutes to set up and run.

    But how does it work??

    You just configure the system, click the mouse button a few
    times, activate the software, copy and paste a few links and
    you’re done!!

    Click the link BELOW as you’re about to witness a software that
    could be a MAJOR turning point to your success.

    = = > > http://mass-autopilot-traffic.com

  4. Hey I just realized that your site xavia360.org website could deal with a massive boost in the search engine rankings…

    And get massive free, targeted traffic

    Just with simple wordpress seo plugin – on complete autopilot…

    See how website after installing this plugin getting 55000 visitors per month….


    I just noticed your site is on wordpress and though I’d share something with you what helped me to skyrocket my wordpress site traffic…

    …you see, I’m a website owner like you who builds his sites on wordpress and I found this little plugin that seriously increases your website search engine rankings.

    You can see proof what #1 rankings it did for me here:


    You’ll see on the page above that I’ve used the plugin to get some pretty impressive search engine rankings, rankings which I’m sure you could get for your xavia360.org wesbite

    So check out the plugin now and let me know how it goes


    Regards, Christine

Leave a Reply

Your email address will not be published. Required fields are marked *