You may try to put session_start(); at the most begining.
But should you also add a session path first?

"Ryan Snow" <[EMAIL PROTECTED]> gl
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> 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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to