Cookies being removed

Hello, hope somebody can help me. I have an Editor X site on www.example.com, and a different site sat on a subdomain, subdomain.example.com . My site on the subdomain uses session cookies to validate a session, and the domain for that cookie is set to .example.com, so should be available across all subdomains (including on my Editor X site). However, when I navigate from subdomain.example.com to www.example.com, the cookie is deleted, so therefore when I then go back to subdomain.example.com the session has been invalidated and the user has been logged out and is asked to log in again.
Any ideas how I can make this cookie persistent on my Editor X site www.example.com? So when I go back to my subdomain from my Wix site, the cookie is still in the browser.
Thanks

Hi @matthew21434

Maria here from the Editor X team. Thanks for your message and my apologies for the delayed reply.

Did you manage to solve this issue? The folks on our support team would probably be best placed to assist. You can find them here: editorx.com/contact

Thanks,
Maria