Hello,
You've pointed the right problem!
I've set your code in config.php. It seem to be applied in phpinfo, but don't solve the problem.
I've a question, the cookie path should be /limesurvey in my case ?
I put this in config.php:
Code:
'session' => array(
'savePath' => '/my/path/to/limesurvey2/tmp/sessions/',
'cookieMode' => 'allow',
'cookieParams' => array(
'path' => '/limesurvey2',
'domain' => 'cdsp.sciences-po.fr',
'httpOnly' => true,
),
),
I've also try with "/" in path variable.
This don't work
BUT, I've modified my php.ini with:
session.cookie_path = /limesurvey2
session.cookie_domain = cdsp.sciences-po.fr
And this solved my problem ! Not surveys are all accessible, no CSRF errors.
But the settings is global, and limesurvey is not my only PHP application... the PHP site at / have now PHP Session troubles..
I need to find a way to make this work on local limesurvey site.
I don't know why it don't work with the config in config.php, even though the settings are visible in limesurvey's phpinfo
Thanks for this progress
Hope to solve this soon...