Session Variables
| From: | Chad Gilmer | Date: | Mon, 25 Mar 2002 18:18:33 +0000 |
| Subject: | Session Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90073@lists.php.net to get a copy of this message | ||
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