asi es como intento cerrar la sesion:
Código PHP:
<?php
session_start();
session_destroy();
header ('Location: http://172.16.0.66/test_notas/login.php');
?>
Código PHP:
session_start();
if (isset($_SESSION["Autenticado"]))
{
header("Location: index.php");
}
tambien lo he intentado de esta forma:
Código PHP:
session_start();
unset($_SESSION["Autenticado"]);
unset($_SESSION["usuariox"]);
unset($_SESSION["permisos"]);
unset($_SESSION["uname"]);
session_destroy();
header ('Location: [url]http://172.16.0.66/test_notas/login.php');[/url]
pero sin tener los resultados esperados.
tengo PHP Version 5.5.11