Location: PHPKode > scripts > Support Tickets Center > zingiri-tickets/osticket/upload/logout.php
<?php
/*********************************************************************
    logout.php

    Destroy clients session.

    Peter Rotich <hide@address.com>
    Copyright (c)  2006-2010 osTicket
    http://www.osticket.com

    Released under the GNU General Public License WITHOUT ANY WARRANTY.
    See LICENSE.TXT for details.

    vim: expandtab sw=4 ts=4 sts=4:
    $Id: $
**********************************************************************/

require('client.inc.php');
//We are checking to make sure the user is logged in before a logout to avoid session reset tricks on excess logins
$_SESSION['_client']=array();
session_unset();
session_destroy();
header('Location: tickets.php'); //zingiri
require('tickets.php'); //zingiri
?>
Return current item: Support Tickets Center