From 977a543b3e12ae648ea958589a5d6f613421b06b Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 31 Aug 2008 11:13:10 +0000 Subject: Minor tweak, logout now calls session_destroy() git-svn-id: https://code.elgg.org/elgg/trunk@2045 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sessions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index cce2b0e6b..92aeb92a2 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -154,7 +154,9 @@ unset($_SESSION['id']); unset($_SESSION['user']); - setcookie("elggperm", "", (time()-(86400 * 30)),"/"); + setcookie("elggperm", "", (time()-(86400 * 30)),"/"); + + session_destroy(); return true; } -- cgit v1.2.3