Ver Mensaje Individual
  #13 (permalink)  
Antiguo 27/10/2008, 05:16
GoKu
 
Fecha de Ingreso: septiembre-2003
Mensajes: 54
Antigüedad: 20 años, 7 meses
Puntos: 2
Respuesta: log out no me cierra session

if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
//to fully log out a visitor we need to clear the session varialbles
session_start();
session_unset();
session_destroy();


$logoutGoTo = "../index.php";
if ($logoutGoTo) {
header("Location: $logoutGoTo");
exit;
}
}


?>
__________________
Kame Kame AH