Clearing PMF related cookies didn't fix this problem.
Searching the forum pointed me to a similar problem some years ago: viewtopic.php?f=2&t=2232&start=0
The problem was related to mod_rewrite. Turning off mod_rewrite fixed the issue.
Disabling mod_rewrite in the pmf config also works for me in 2.6.1. Anyway, I want nice URLs. So I had a look at the pmf source. The problem, as I have pointed out so far, seems to be within inc/Session.php. In 2.5.2 there was
Code: Select all
setcookie(PMF_COOKIE_NAME_SESSIONID, $sessionId, $_SERVER['REQUEST_TIME'] + PMF_SESSION_EXPIRED_TIME);
Code: Select all
setcookie(
PMF_COOKIE_NAME_SESSIONID,
$sessionId,
$_SERVER['REQUEST_TIME'] + PMF_SESSION_EXPIRED_TIME,
dirname(dirname(__FILE__)),
$_SERVER['HTTP_HOST'],
false,
true);
}
While having a look at the PMF related cookies in my browser, I also noticed, that the cookies pmf_sid and pmf_auth are quite different. Maybe the code for setting the pmf_auth cookie should also get some review.