![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/04/2007, 13:33
|
![Avatar de Nefertiter](http://static.forosdelweb.com/customavatars/avatar29349_0.gif) | | | Fecha de Ingreso: enero-2003 Ubicación: Rosario
Mensajes: 1.316
Antigüedad: 22 años, 1 mes Puntos: 9 | |
Re: Como cierro sesion?? tambien es recomndable borres las variables de session
<?php
session_start();
unset($_SESSION['nombre']);
unset($_SESSION['otra_var']);
unset($_SESSION['ooootra_var']);
session_unset();
session_destroy();
header("Location: index.php");
?> |