[Protector 2.52]
modules/protector/include/preferences.inc.php
if (!empty($use_mysession) && $xoopsConfig['use_mysession'] == 0 && $session_name != '') {
setcookie($session_name, session_id(), time()+(60*intval($session_expire)), '/', '', 0);
}
Shouldn't that be:
if (!empty($use_mysession) && $xoopsConfig['use_mysession'] && $session_name != '') {
setcookie($session_name, session_id(), time()+(60*intval($session_expire)), '/', '', 0);
}
I.e., shouldn't the cookie be set if "Use custom session" is "Yes", rather than "No"?
Also, where are the variables $use_mysession, $session_name and $session_expire defined?