* @version $id SVN * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ //////////////////////////////////// // on tue les variables de sessions //////////////////////////////////// session_start(); include_once("../config/server.php"); include_once("../lib/no_cache.php"); $_SESSION = array(); session_unset(); session_destroy(); // we delete user cookie and last_page // necessary to avoid loop on login page // when linea21_lastpage is set to inexisting value setcookie("linea21_lastuser", "", time() - 3600, '/'); setcookie("linea21_lastpage", "", time() - 3600, '/'); header("Location: login.php"); exit(); ?>