Yes this is correct Atle
I have resolved the issue which many people seem to keep having. The cookie path is NOT relative to joomla and moodle but rather to NGINX or APACHE. For instance this was my setup
joomla =
mysite.com/joomla/
moodle=
mysite.com/joomla/moodle/
joomla joomdle cookie path:
/moodle/
moodle session handler cookie path:
/joomla/moodle/
So the correct joomla joomdle is also relative to the root of the site not to the instalation so correct cookie path for both moodle and joomla is
joomla joomdle cookie path:
/joomla/moodle/
moodle session handler cookie path:
/joomla/moodle/
To set the cookie path in joomlas joomdle go to components -> joomdle ->configuration
To set the cookie path in moodle go to Moodle->Site Administration->Server->Session Handling
**Remember to add the slashes correctly