output buffer

output buffer

am 29.12.2009 22:25:29 von Marc Fromm

--_000_B0D7C0A3F35FE144A70312D086CBCA9B03D0F094DFExchMailbox 2u_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I am receiving the "Cannot send session cookie - headers already sent" mess=
age even though I am using ob_start() at the top of my php script.

The php.ini file has output_buffering set to 4096 4096.
My server is running Red Hat Enterprise Linux 5.2 I am using PHP 5.1.6

Is there some other setting in httpd that I need to adjust to be able to st=
art a session within the php script?

Thanks

Marc


--_000_B0D7C0A3F35FE144A70312D086CBCA9B03D0F094DFExchMailbox 2u_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" xmlns=3D"http://ww=
w.w3.org/TR/REC-html40">


>

name=3D"City"/>
name=3D"place"/>









ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>I am receiving the
"Cannot send session cookie - headers already sent" message even
though I am using ob_start() at the top of my php script.=



ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>  n>



ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>The php.ini file has
output_buffering set to 4096 4096.



ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>My server is running R=
ed Hat
Enterprise ty>
Linux 5.2 I am using PHP 5.1.6



ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>  n>



ourier New"> style=3D'font-size:10.0pt;font-family:"Courier New"'>Is there some other se=
tting in
httpd that I need to adjust to be able to start a session within the php
script?



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'>Thanks



0.0pt;
font-family:Arial'> 



t-size:10.0pt;
font-family:"Courier New"'>Marc



'font-size:
12.0pt'> 









--_000_B0D7C0A3F35FE144A70312D086CBCA9B03D0F094DFExchMailbox 2u_--

Re: output buffer

am 29.12.2009 22:29:44 von rambo

On Tue, 29 Dec 2009 13:25:29 -0800
Marc Fromm wrote:

> I am receiving the "Cannot send session cookie - headers already sent"
> message even though I am using ob_start() at the top of my php script.

This has nothing to do with Apache, the thing is that something in your
php script causes unconditional issuing out output (like stray
space, error in code).

--
try again

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org