From: Thomas Mueller Date: Wed, 12 Dec 2012 10:46:43 +0000 (+0100) Subject: set the session name to the instance id - which is unique X-Git-Tag: v5.0.0alpha1~341 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8b64d6ffc0645f5806d7120e337c2652e49c2e7;p=nextcloud-server.git set the session name to the instance id - which is unique Conflicts: lib/base.php --- diff --git a/lib/base.php b/lib/base.php index 88628452613..0b75f6f085e 100644 --- a/lib/base.php +++ b/lib/base.php @@ -289,6 +289,9 @@ class OC{ // prevents javascript from accessing php session cookies ini_set('session.cookie_httponly', '1;'); + // set the session name to the instance id - which is unique + session_name(OC_Util::getInstanceId()); + // (re)-initialize session session_start();