From 871553973b9c0ca7119c5a248daf6b3c91724a43 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 20 Nov 2008 19:27:46 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@2483 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index a3e36187f..946fd69e2 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -324,7 +324,7 @@ $_SESSION['__elgg_fingerprint'] = get_session_fingerprint(); } - // Generate a simple token + // Generate a simple token (private from potentially public session id) if (!isset($_SESSION['__elgg_session'])) $_SESSION['__elgg_session'] = md5(microtime().rand()); if (empty($_SESSION['guid'])) { -- cgit v1.2.3