Source for file logout.php
Documentation is available at logout.php
* The logout page logs out the user.
* This file is part of HRDIODB.
* HRDIODB is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* HRDIODB 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 General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with HRDIODB; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** Configuration file */
require_once("conf.php");
require_once("session_class.php");
/** HRDI database class */
require_once("hrdi_db_class.php");
require_once("user_class.php");
require_once("common_class.php");
// Create class instances
$user = new user($hdb, $session);
// Log the user out. This destroys the current session.
// Redirect us to the index page
|