Location: PHPKode > projects > OrangeMesh > orangemesh_0_3_1/entry/logout.php
<?php 
/* Name: logout.php
 * Purpose: logs user out of dashboard.
 * Written By: Mike Burmeister-Brown, Shaddi Hasan
 * Last Modified: March 22, 2008
 * 
 * (c) 2008 Open Mesh, Inc. and Orange Networking.
 * 
 * This file is part of OrangeMesh.
 *
 * OrangeMesh is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version. This license is similar to the GNU
 * General Public license, but also requires that if you extend this code and
 * use it on a publicly accessible server, you must make available the 
 * complete source source code, including your extensions.
 * 
 * OrangeMesh is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with OrangeMesh.  If not, see <http://www.gnu.org/licenses/>.
 */
session_start();
// Unset all of the session variables to force new login
$_SESSION = array();
//$_SESSION['realm'] = ''; 
	
Header("Location: ../index.php");
?>
Return current item: OrangeMesh