Re: why won't session_start() work?
| From: | Killer Angel Clark | Date: | Fri, 08 Mar 2002 17:46:34 +0000 |
| Subject: | Re: why won't session_start() work? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17575@lists.php.net to get a copy of this message | ||
You may try to put session_start(); at the most begining.
But should you also add a session path first?
"Ryan Snow" <snow@cosmic.utah.edu> ¼¶¼g©ó¶l¥ó
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