3 /**************************************************************************
4 ** (c) Copyright 2003, Andromeda Technology & Automation
5 ** This is free software; you can redistribute it and/or modify it under the
6 ** terms of the GNU General Public License, see the file COPYING.
7 ***************************************************************************
8 ** MODULE INFORMATION *
9 ***********************
10 ** FILE NAME : logout.php
11 ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring
12 ** VERSION NUMBER : $Revision: 1.3 $
14 ** DESCRIPTION : Gnucomo logout script.
15 ** Simply clears the username in the session and
16 ** invokes the login page.
21 ***************************************************************************
22 ** ADMINISTRATIVE INFORMATION *
23 ********************************
24 ** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
25 ** CREATION DATE : Dec 03, 2002
26 ** LAST UPDATE : Feb 08, 2003
28 **************************************************************************/
30 /*****************************
32 Revision 1.3 2007-11-21 14:38:06 arjen
33 The buttonbar at the top of each page is now a fixed 'div' element
34 instead of a framed page.
35 Contributed by Edwin Nadorp.
37 Revision 1.2 2003/02/13 09:00:45 arjen
40 ******************************/
42 // RCSID = "$Id: logout.php,v 1.3 2007-11-21 14:38:06 arjen Exp $";
45 $_SESSION['username'] = '';
47 //include('login.php');
48 header( "Location: login.php" );