Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/04/2008, 07:22
izzio_conte
 
Fecha de Ingreso: julio-2007
Mensajes: 28
Antigüedad: 16 años, 10 meses
Puntos: 0
Re: Problema al almacenarse las sesiones...

Al colocar la instruccion al inicio como ustedes me dicen

session_start();
if($cookie=="setcookie")
{
setcookie("nombre",$tunombre);
}
?>

me aparece lo siguiente:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\appserv\ejemplo10-2-1.php:11) in C:\AppServ\www\appserv\ejemplo10-2-1.php on line 12

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\appserv\ejemplo10-2-1.php:11) in C:\AppServ\www\appserv\ejemplo10-2-1.php on line 12

Que puedo hacer...