Thank you all for your help.
At this point I am convinced that running the iframe from a different domain won't work because of the cookies being used by LimeSurvey.
While annoying, this isn't critical for me and thus I shall run the survey from the same domain.
Joffm : yes, I had enabled IP check (an oversight considering the test being run)
There is probably a bug report to be filed, because 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';
To be sure, I also tried optional settings (
www.limesurvey.org/manual/Optional_settings
), adding to config.php :
// Set the domain for cookie
'session'=>array(
'cookieParams'=>array(
'domain'=>'.pilierpublic.com',
),
),
That didn't change a thing. As before, cookies are being set on the other domain, as if the aforementioned settings was completely ignored.
For the future, it would be nice to offer an option that replaces cookies with URL query GET parameters (when in an iframe, these won't be seen by the user anyway) and a form's POST parameters.