Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/02/2007, 19:12
MMCQ
 
Fecha de Ingreso: marzo-2006
Mensajes: 401
Antigüedad: 18 años, 1 mes
Puntos: 1
Sesiones Error

Cita:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\RS\MySpot\logout.php:2) in C:\AppServ\www\RS\MySpot\logout.php on line 4
Ya Se Destruyo la Sesion
me aparece este error cuando voy a elimiar la sesion

Código PHP:
<?php

session_start
(); 

if( isset(
$_SESSION['username']))

{

@
session_destroy();

$_SESSION = array();

echo 
"Ya Se Destruyo la Sesion";

}

else

{

echo 
"No Se Ha Destruido la Sesion Aun";

}

?>