Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/04/2005, 18:36
KenMasters
 
Fecha de Ingreso: abril-2005
Ubicación: Piura - Perú
Mensajes: 189
Antigüedad: 19 años
Puntos: 0
Exclamación Problema con $_SESSION ... urgente

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/xxxx/public_html/admin/admin.php:3) in /home/xxxx/public_html/admin/admin.php on line 46

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxxx/public_html/admin/admin.php:3) in /home/xxxxx/public_html/admin/admin.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/catacaos/public_html/admin/admin.php:3) in /home/xxxxx/public_html/admin/admin.php on line 49

en mi localhost si funciona normalmente pero cuanod lo subi al hosting me sale ese error las lienas de donde expulsa el error son..


session_start();
$_SESSION["autentificado"]= "SI";
$_SESSION["user"] = "$user";
header(' Location: panel.php');