set the session name to the instance id - which is unique
Conflicts: lib/base.php
This commit is contained in:
parent
8b4aad73c7
commit
b8b64d6ffc
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue