There is a problem when the survey runs through an iframe :
www.domain-b.com/survey.html
contains an iframe that points to...
www.domain-a.com/survey/index.php/123456?lang=fr
Indeed, in test mode this results in a 401 error, and when live the survey's Next button doesn't work.
application/config/config-defaults.php contains a string that is supposed to enable what I was looking for :
/**
* Sets if any part of LimeSUrvey may be embedded in an iframe
* Valid values are allow, sameorigin
* Default: allow
* Recommended: sameorigin
* Using 'deny' is currently not supported as it will disable the theme editor preview and probably file upload.
*/
$config = 'allow';
I also tried to add an optional setting ( manual.limesurvey.org/Optional_settings ) to config.php :
// Set the domain for cookie
'session'=>array(
'cookieParams'=>array(
'domain'=>'.domain-b.com',
),
),
That didn't change a thing. As before, cookies are being set on the other domain.