summaryrefslogtreecommitdiff
path: root/web/html/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/logout.php')
-rw-r--r--web/html/logout.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/html/logout.php b/web/html/logout.php
index 07a787a..a81c645 100644
--- a/web/html/logout.php
+++ b/web/html/logout.php
@@ -9,6 +9,8 @@ set_lang(); # this sets up the visitor's language
if (isset($_COOKIE["AURSID"])) {
$q = "DELETE FROM Sessions WHERE SessionID = '";
$q.= mysql_escape_string($_COOKIE["AURSID"]) . "'";
+ $dbh = db_connect();
+ db_query($q, $dbh);
setcookie("AURSID", "", time() - (60*60*24*30), "/");
}