Ver Mensaje Individual
  #9 (permalink)  
Antiguo 21/02/2011, 15:45
dibustosb
 
Fecha de Ingreso: mayo-2009
Ubicación: Concepción
Mensajes: 27
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Cerrar Sesión en los Navegadores

Cita:
Iniciado por walterdevel Ver Mensaje
Tenés que hacer un unset($_SESSION['nombre_sesion']); a todas tus sesiones en tu logout, como ya te dijeron antes.
Código PHP:
<?php session_start(); 
unset(
$_SESSION['autentificado']); // tendría que agregarlo aquí? y mi variable de sesión en mi caso sería "auntentificado, segun entiendo o.o ? 
session_destroy();  
header("location: index.php");  
?>