Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2011-04-23 03:36:26 +0400
committerrobocoder <anthon.pang@gmail.com>2011-04-23 03:36:26 +0400
commit5c84ecd9c312b19afa259e9b937787349f8bb2e0 (patch)
treee019022ce7982836d8777e9cae45c6f72157f09b /core/Session.php
parent9f6eddd8e68cf0d36093b38f455093ac03eef0a5 (diff)
refs #1111 - fix some of the unit tests; will look at the failing integration tests later
git-svn-id: http://dev.piwik.org/svn/trunk@4535 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Session.php')
-rw-r--r--core/Session.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Session.php b/core/Session.php
index 2246be9f8b..694a9fa1f0 100644
--- a/core/Session.php
+++ b/core/Session.php
@@ -44,6 +44,10 @@ class Piwik_Session extends Zend_Session
$sessionName = defined('PIWIK_SESSION_NAME') ? PIWIK_SESSION_NAME : 'PIWIK_SESSID';
@ini_set('session.name', $sessionName);
+ // proxies may cause the referer check to fail and
+ // incorrectly invalidate the session
+ @ini_set('session.referer_check', '');
+
// we consider these to be misconfigurations, in that
// - user - Piwik doesn't implement user-defined session handler functions
// - mm - is not recommended, not supported, not available for Windows, and has a potential concurrency issue