session_start() problem

From: Date: Mon, 13 Aug 2001 11:04:20 +0000
Subject: session_start() problem
Groups: php.general 
Request: Send a blank email to php-general+get-62403@lists.php.net to get a copy of this message
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

« previous php.general (#62403) next »