Location: PHPKode > projects > O - OpenSource GroupWare > osgw/admin/clear_sessions.php
   This program 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.

   @Authors:	Ryan Thompson(hide@address.com)
$service['add_header'] = TRUE;

include($here. "/class.admin.php");
$admin = new admin;

$now = time();
$sql = "DELETE FROM o_sessions WHERE expires<'$now'";

header("Location: index.php");
Return current item: O - OpenSource GroupWare