
21/03/2011, 15:51
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 471
Antigüedad: 17 años, 4 meses Puntos: 2 | |
Respuesta: problemas con el session_id Cita:
Iniciado por abimaelrc Usa la recomendación de PHP para destruir las sesiones:
Código PHP:
Ver original<?php // Initialize the session. // If you are using session_name("something"), don't forget it now! // Unset all of the session variables. // If it's desired to kill the session, also delete the session cookie. // Note: This will destroy the session, and not just the session data! if (ini_get("session.use_cookies")) { $params["path"], $params["domain"], $params["secure"], $params["httponly"] ); } // Finally, destroy the session.
ok, lo probare.
para que sirve ini_get?? lo mire en el manual de php pero no lo entendi muy bien |