RE: [PHP] Session Variables

From: Date: Mon, 25 Mar 2002 18:33:03 +0000
Subject: RE: [PHP] Session Variables
Groups: php.general 
Request: Send a blank email to php-general+get-90074@lists.php.net to get a copy of this message
it means you've already output some HTML or a blank line -----Original Message----- From: Chad Gilmer [mailto:chad@gilmer.com] Sent: Monday, March 25, 2002 12:19 PM To: php-general@lists.php.net Subject: [PHP] Session Variables Hi There, I am a beginner to PHP and I am tring to use session variables on my site. I am trying to use Session Variables in PHP on the iPLANIT.tv site When I use the following code: <?php $ses_counter++; session_register("ses_counter"); ?> I get the following error Warning: Cannot send session cookie - headers already sent by (output started at /home/iplanit/public_html/php/login.php:8) in /home/iplanit/public_html/php/login.php on line 11 Warning: Cannot send session cache limiter - headers already sent (output started at /home/iplanit/public_html/php/login.php:8) in /home/iplanit/public_html/php/login.php on line 11 Any Ideas??? Cheers Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#90074) next »