Yes, just make sure that you're not outputting *anything* (even blank
lines like at the end of an included file or something, <!DOCTYPE>
lines, or such) before the start of the session or whereever you
send the first cookie (i.e. session_start(), session_register()). Or
turn cookies off and use the transparent SID.
BTW, This list is for discussion among the PHP documentation team; the
list you want for general help is [EMAIL PROTECTED] (go to
http://www.php.net/support.php to sign up).
Another BTW: HTML emails generally aren't considered appropriate on
these lists.
Hope this helps,
Torben
Adrian Pitulac writes:
> I have Apache 1.3.14 and Php 4.0.4 on RedHat Linux 7.0!
>
> I started a session from a html and i receive the following message:
>
> Warning: Cannot send session cache limiter - headers already sent (output started at
>........../x.php:4) in ..../x.php on line zz
>
> Can you help me?
>
> Thanks!
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
> <META content="MSHTML 5.00.2920.0" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>
> <DIV><FONT face=Arial size=2>I have Apache 1.3.14 and Php 4.0.4 on RedHat Linux
> 7.0!</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=Arial size=2>I started a session from a html and i receive the
> following message:</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=Arial size=2>Warning: Cannot send session cache limiter -
> headers already sent (output started at ........../x.php:4) in ..../x.php on
> line zz</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=Arial size=2>Can you help me?</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=Arial size=2>Thanks!</FONT></DIV></FONT></DIV></BODY></HTML>
--
+----------------------------------------------------------------+
|Torben Wilson <[EMAIL PROTECTED]> Adcore Finland|
|http://www.coastnet.com/~torben http://www.adcore.com|
|Ph: 1.604.709.0506 [EMAIL PROTECTED]|
+----------------------------------------------------------------+