1<?php
2# ---------------------------------------------------------------------
3# rth is a requirement, test, and bugtracking system
4# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
5# This program is distributed under the terms and conditions of the GPL
6# See the README and LICENSE files for details
7#----------------------------------------------------------------------
8# ------------------------------------
9# Logout Page
10#
11# $RCSfile: logout.php,v $ $Revision: 1.1.1.1 $
12# ------------------------------------
13
14include"./api/include_api.php";
15
16##################################################################################
17# Destroy the session and reload the login page                                  #
18##################################################################################
19session_end();
20
21##################################################################################
22# Destroy the cookie login information                                           #
23##################################################################################
24util_set_cookie(USER_COOKIE_NAME, "");
25util_set_cookie(PWD_COOKIE_NAME, "");
26
27html_redirect('login.php');
28
29# ------------------------------------
30# $Log: logout.php,v $
31# Revision 1.1.1.1  2005/11/30 23:00:57  gth2
32# importing initial version - gth
33#
34# ------------------------------------
35?>