[Pkg-owncloud-commits] [owncloud] 203/394: set the session name to the instance id - which is unique

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:05 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 78c2a2183689d12a4a34bd7e7e76153e5582ff44
Author: Thomas Mueller <thomas.mueller at tmit.eu>
Date:   Wed Dec 12 11:46:43 2012 +0100

    set the session name to the instance id - which is unique
---
 lib/base.php |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/base.php b/lib/base.php
index f3a9db2..3648fff 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -262,6 +262,10 @@ class OC{
 
 	public static function initSession() {
 		ini_set('session.cookie_httponly', '1;');
+
+		// set the session name to the instance id - which is unique
+		session_name(OC_Util::getInstanceId());
+
 		session_start();
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list