Did you make sure everything below is BEFORE the html tag?

Also you can just set the variable $sesionvar like this:

$sesionvar = "fulanito";
instead of
$HTTP_SESSION_VARS["sesionvar"] = "fulanito";

> lines in the acceso.php file:
> 
> 27  session_name(primera);
> 28  session_start();
> 29  session_register("sesionvar");
> 30  $HTTP_SESSION_VARS["sesionvar"] = "fulanito";
> 
> what I get in the browser:
> 
> Warning: Cannot send session cookie - headers already sent by (output
> started at /public_html/php/acceso.php:8) in /public_html/php/acceso.php on
> line 28
> 
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /public_html/php/acceso.php:8) in /public_html/php/acceso.php on
> line 28
> 
> some help please
> thanks in advance
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to