Well the fact that this fixed it, tends to imply you were outputting some warn level messages before cookies were sent, therefore they weren't : A cookie is a header, and like any HTTP header they must be sent before any other content (even a newline or linebreak can do it).

If you pushed any error messages (such as a warning that a variable was not yet defined etc) before sending your cookie or other headers, this would cause your symptoms.

HTH
Neil Smith.

At 03:33 19/01/2003 +0000, you wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "Ed" <[EMAIL PROTECTED]>
Date: Sat, 18 Jan 2003 17:03:00 -0600
Subject: Re: Subject: cookies problem (FIXED)

It's not a browser problem, as I said in my post php wasn't saving the
cookies.  This seems to be a widespred problem after searching many mailing
lists and seeing this problem on every one of them, with no fixes.  I had
already changed my path to c:\php\sessions, so that wasn't the problem
either.  What finally fixed it was changing this in the php.ini file:

error_reporting  = E_ALL

To This:
error_reporting  = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR

Now cookis and sessions work just like they're supposed to.

Ed

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to