Re: Re: session error ... I think

From: Date: Thu, 11 Jul 2002 18:55:21 +0000
Subject: Re: Re: session error ... I think
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-107217@lists.php.net to get a copy of this message
Alexander Ross wrote:
ok ... but the line of code that was the culprit was simply: print "var id = ".$id."<br>"; //for debugging how does that line constitute sending more header info? It does not constitute sending more headers, but it does say that no more may be sent (as you have already sent the "print" line). Headers have to be the first thing sent, before anything else. Once anything else is sent then, by definition, headers are complete.
Think of the error message saying "Some output has been sent so its too late to send a header now." Regards Chris

« previous php.general (#107217) next »