diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-12-12 11:46:43 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-12-12 16:07:51 +0100 |
commit | b8b64d6ffc0645f5806d7120e337c2652e49c2e7 (patch) | |
tree | a528e1a262c985989289a5f25e5ee2b9cded2e16 /lib | |
parent | 8b4aad73c7f96608e495e5e912c059406ee1da49 (diff) | |
download | nextcloud-server-b8b64d6ffc0645f5806d7120e337c2652e49c2e7.tar.gz nextcloud-server-b8b64d6ffc0645f5806d7120e337c2652e49c2e7.zip |
set the session name to the instance id - which is unique
Conflicts:
lib/base.php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |