Re: why won't session_start() work?
| From: | jas | Date: | Thu, 28 Feb 2002 05:35:20 +0000 |
| Subject: | Re: why won't session_start() work? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17367@lists.php.net to get a copy of this message | ||
Ryan,
Do you have anything else between your <?php and ?>. Need more code to
determine why.
Jas
"Ryan Snow" <snow@cosmic.utah.edu> wrote in message
news:Pine.OSF.3.91.1020227180416.30252D-100000@bessie.cosmic.utah.edu...
>
> when I do:
> session_start();
> session_register('signor');
> session_register('username');
>
>
> I get:
>
> Warning: Cannot send session cookie - headers already sent by (output
> started at /var/www/html/index.php:3) in
> /var/www/html/index.php on line 14
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /var/www/html/index.php:3) in
> /var/www/html/index.php on line 14
>
> Anybody know why?
>
> Thanks.
>
> Ry