Ver Mensaje Individual
  #7 (permalink)  
Antiguo 13/01/2014, 11:14
Andrew777
 
Fecha de Ingreso: junio-2009
Ubicación: Bolivia
Mensajes: 96
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: Problemas con sesion en php?

Y el control_sesion.php lo cambie por lo siguiente:

Código PHP:
Ver original
  1. <?php
  2.     //control de sesion ...
  3.     //session_destroy();
  4.     session_start();
  5.     if (!isset($_SESSION['andromeda']) || $_SESSION['andromeda'] !== true)
  6.     {
  7.         //session_destroy();
  8.         header('Location: index.html');
  9.         exit;
  10.     }
  11.     //fin control de sesion...
  12. ?>