![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/10/2014, 16:08
|
![Avatar de herzbazi](http://static.forosdelweb.com/customavatars/avatar455838_2.gif) | | | Fecha de Ingreso: febrero-2012
Mensajes: 612
Antigüedad: 13 años Puntos: 36 | |
Respuesta: Problema para salir de una sesion php Cita:
Iniciado por eduuh17 logout.php
<?php
****session_start();
****session_destroy();
*
****header('location: index.php');
?>
Saludos prueba asi
Código PHP:
Ver original<?php if (ini_get("session.use_cookies")) { $params["path"], $params["domain"], $params["secure"], $params["httponly"] ); } header("Location: index.php"); ?>
espero te funcione.. :)
__________________ Enseña todo lo que sepas...
Aprende todo lo que puedas.. |