Re: problems Regarding php session vars
| From: | Jason Brooke | Date: | Sat, 30 Sep 2000 13:22:18 +0000 |
| Subject: | Re: problems Regarding php session vars | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18160@lists.php.net to get a copy of this message | ||
Make sure you're not printing or echoing anything before the call to
session_start(), including whitespace outside of php escape tags.
jason
> hi,
>
> i have a small regarding php session variables.
>
> whenever i register a variable using session_register[var1]; it registers
the var as a coookie. now when i try to make use of this variable in any
other page using session_start() and then the statemtn where the variable is
being echoed i get an warning saying
>
> cannot send session cache limiter headers already sent ( o/p startted at
/home/php/messages.php:16) in /home/php/messages.php on line 121
>
> can anyone pl help me out in this matter...
>
> is there anyway by which i can stop the warnings to display or any err
check syntax
>
> hope for reply soon