![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/09/2009, 06:14
|
| | Fecha de Ingreso: septiembre-2009
Mensajes: 39
Antigüedad: 15 años, 4 meses Puntos: 0 | |
Respuesta: Problema al hacer logout <?php
session_start();
if(!isset($_SESSION["login"])){
header("location:login.php");
} else {
unset($_SESSION);
$_SESSION=array();
session_destroy();
header("location: indexfinal.php");
}
?>
y el codigo del form q llama al logout donde esta el desconectar es este
echo "<br><a href='logout.php'>Desconectarse</a>";
echo "</body></html>"; |