# Please help! "Session Start Cannot Modify Header Information"

**URL:** <https://forum.kirupa.com/t/please-help-session-start-cannot-modify-header-information/278561>\
**Category:** programming\
**Created:** [January 1, 2009, 10:37pm UTC](https://forum.kirupa.com/t/please-help-session-start-cannot-modify-header-information/278561 "2009-01-01T22:37:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxsassxx31](https://avatars.discourse-cdn.com/v4/letter/x/8797f3/32.png) [@xxsassxx31](https://forum.kirupa.com/u/xxsassxx31)\
**Post date:** [January 1, 2009, 10:37pm UTC](https://forum.kirupa.com/t/please-help-session-start-cannot-modify-header-information/278561/1 "2009-01-01T22:37:50Z")

</div>

I had an error in which I had someone do a fix of my index.php file for my website [www.alliancedirect.net](http://www.alliancedirect.net) and everything was solved and perfect! I always used Adobe Contribute CS4 to add the page title and header information (keywords & description) but this was the first time since this guy had helped me fix my problem in which I had modified the wrong file and when I used Contribute to edit the page title & header, my website instantly gave the following error message on the top of the flash and even my drupal (html portion) of the site:

_**"Warning: session\_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 899  
Warning: session\_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 899  
Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 531  
Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 532  
Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 533  
Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/h/a/shawn31/html/index.php:3) in /home/content/s/h/a/shawn31/html/includes/bootstrap.inc on line 534"**_

I went back to my Adobe Contribute CS4 and deleted the keywords and description I had entered and attempted to get rid of the title but it wouldn’t and won’t let me since I had already inputted it via Contribute. Also, I assume what it is, is that I already had the title in on my index.php.

\*\*I went to the following lines as stated in bootstap.inc and I got the following:

Line 899: “session\_start();”  
Lines 531-534 (I posted lines 530-535 because it showed some drupal stuff which may or may not be applicable):  
530: function drupal\_page\_header() {  
531: header(“Expires: Sun, 19 Nov 1978 05:00:00 GMT”);  
532: header(“Last-Modified: " . gmdate(“D, d M Y H:i:s”) . " GMT”);  
533: header(“Cache-Control: store, no-cache, must-revalidate”);  
534: header(“Cache-Control: post-check=0, pre-check=0”, FALSE);  
535: }

This is what I see at the beginning of my index.php file:  
\<meta name=“keywords” content=""\>  
\<meta name=“description” content=""\>  
\<title\>Alliance Direct Financial Source offers mortgage loan modification finance refinance short sale foreclosure bailout\</title\>\<?php  
// $Id: index.php,v 1.91 2006/12/12 09:32:18 unconed Exp $\*\*

I don’t want to dive into this alone as I don’t want to mess anything up. The pages are tied to both my flash page [http://www.alliancedirect.net](http://www.alliancedirect.net) and any part of my non-flash page such as [http://www.alliancedirect.net/calculators](http://www.alliancedirect.net/calculators) .

Can anyone please help me with this today since today is New Years and a non-workday? Thanks again for all your help and a Happy New Years to all!
