summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2007-08-29 11:13:24 +0000
committertill <till@php.net>2007-08-29 11:13:24 +0000
commit234c0d0ab051b308b922e6170419ebbc0636f93b (patch)
tree9ae186eeed0e90e2e7442aea34eeff8cd23419d5
parent0144c50fc474c5f0145f3ac1fd2f0d2360e21695 (diff)
* changed sessid to roundcube_sessid (#1484475)
-rw-r--r--index.php2
-rw-r--r--program/js/app.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index ff9909844..199f49444 100644
--- a/index.php
+++ b/index.php
@@ -66,7 +66,7 @@ if (!defined('PATH_SEPARATOR'))
// instead the ones provided by RC
ini_set('include_path', $INSTALL_PATH.PATH_SEPARATOR.$INSTALL_PATH.'program'.PATH_SEPARATOR.$INSTALL_PATH.'program/lib'.PATH_SEPARATOR.ini_get('include_path'));
-ini_set('session.name', 'sessid');
+ini_set('session.name', 'roundcube_sessid');
ini_set('session.use_cookies', 1);
ini_set('session.gc_maxlifetime', 21600);
ini_set('session.gc_divisor', 500);
diff --git a/program/js/app.js b/program/js/app.js
index 1d09fe901..164ac4a1b 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3502,7 +3502,7 @@ function rcube_http_request()
this.xmlhttp.onreadystatechange = function(){ _ref.xmlhttp_onreadystatechange(); };
this.xmlhttp.open('GET', url);
- this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('sessid'));
+ this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('roundcube_sessid'));
this.xmlhttp.send(null);
};
@@ -3536,7 +3536,7 @@ function rcube_http_request()
this.xmlhttp.onreadystatechange = function() { ref.xmlhttp_onreadystatechange(); };
this.xmlhttp.open('POST', url, true);
this.xmlhttp.setRequestHeader('Content-Type', contentType);
- this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('sessid'));
+ this.xmlhttp.setRequestHeader('X-RoundCube-Referer', bw.get_cookie('roundcube_sessid'));
this.xmlhttp.send(req_body);
};