I'm currently trying to fix a problem with a module involving cookies, hopefully there's another way to do this... otherwise I have to write a disclaimer:

The site has a domain of: http://example.com and a https://ssl.otherdomain.com.

Is there a way that I can write a cookie for both example.com and ssl.otherdomain.com? I know that ZenCart appends a zenid whenever a cookie cannot be set. Can this be replicated?