Re bonjour,
j'ai cherché un peu et j'ai observé ceci :
le fichier concerné est :
/* Location: ./application/controllers/survey.php */
Le code traitant le cookie est le suivant :
//CHECK FOR PREVIOUSLY COMPLETED COOKIE
//If cookies are being used, and this survey has been completed, a cookie called "PHPSID[sid]STATUS" will exist (ie: SID6STATUS) and will have a value of "COMPLETE"
$sCookieName="LS_".$surveyid."_STATUS";
if (isset($_COOKIE[$sCookieName]) && $_COOKIE[$sCookieName] == "COMPLETE" && $thissurvey['usecookie'] == "Y" && $tokensexist != 1 && (!isset($param['newtest']) || $param['newtest'] != "Y"))
{
$redata = compact(array_keys(get_defined_vars()));
$asMessage = array(
$clang->gT("Error"),
$clang->gT("You have already completed this survey."),
sprintf($clang->gT("Please contact %s ( %s ) for further assistance."),$thissurvey['adminname'],$thissurvey['adminemail'])
);
$this->_niceExit($redata, __LINE__, $thistpl, $asMessage);
}
if (isset($_GET['loadall']) && $_GET['loadall'] == "reload")
{
if (returnGlobal('loadname') && returnGlobal('loadpass'))
{
$_POST['loadall']="reload";
}
}
Alors je suis bêtement allé cherché mon cookie
qui devrait s'appeler PHPSID[sid]STATUS
et je ne trouve rien ! Le cookie n'est pas créé..
Voilà, je vais cherché un peu de mon côté si je peux remettre ce cookie en service,
n'hésitez à m'envoyer le code si vous trouvez avant.
A+