Re: Warning: Cannot send session cookie

From: Date: Wed, 05 Oct 2005 01:24:32 +0000
Subject: Re: Warning: Cannot send session cookie
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-223633@lists.php.net to get a copy of this message
Michael Crute wrote:
    The page contains a \n before I start my <?php. Is this doing it?
That \n is it. You can't send ANYTHING to the browser before you send the headers and cookies are part of the headers. Take out the \n and all should be well.
Thanks. Dreamweaver screwed me over ;)

« previous php.general (#223633) next »