Re: PHP Sessions - works halfway
| From: | Chris Hewitt | Date: | Sun, 06 Jul 2003 18:18:57 +0000 |
| Subject: | Re: PHP Sessions - works halfway | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11233@lists.php.net to get a copy of this message | ||
Deborah Vorndran wrote:
It means that you have already sent something to the browser. A space or newline is enough to get this error. Session starting _must_ be the first thing sent to the browser. HTH ChrisI do a session_start();session_register("SESSION"); echo "<li>The counter is now $SESSION[count] "; straight from the tutorial, and I get this: -------------------------------------------------- *Warning*: Cannot send session cookie - headers already sent by (output started at /var/www/html/Deb/phpsession.php:5) in */var/www/html/Deb/phpsession.php* on line *6*