Not to mention that you are registering two different variables... try
combining the two by putting a coma between them. i.e.
session_register('signor','username');
HTH
Jas

"Jas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Ryan,
>     Do you have anything else between your <?php and ?>.  Need more code
to
> determine why.
> Jas
> "Ryan Snow" <[EMAIL PROTECTED]> wrote in message
> 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