aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 19:27:46 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 19:27:46 +0000
commit871553973b9c0ca7119c5a248daf6b3c91724a43 (patch)
tree9299c23e6b0688b36b8f1ce24ad6d9138d6c4e32
parent4197ef8011f12610ce9ae284b18cac1e5174ffc5 (diff)
downloadelgg-871553973b9c0ca7119c5a248daf6b3c91724a43.tar.gz
elgg-871553973b9c0ca7119c5a248daf6b3c91724a43.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@2483 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/sessions.php2
1 files changed, 1 insertions, 1 deletions
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'])) {