You cannot share cookies across domains. You can however allow all subdomains to have access. To allow all subdomains of example.com
to have access, set the domain to .example.com
.
It's not possible giving otherexample.com
access to example.com
's cookies though.