Set cookie on 2 subdomains


I’m sure this must have been asked before, so apologies if I didn’t find it :slight_smile: We have 3 “urls” for our site:

If someone is on and, I need it so they cookies can be written on both. The cdn. sub-domain, we do NOT want the cookies set on (so we can’t just use a wildcard like

Is this even possible? I know all browsers won’t let you set cookies for ANOTHER domain… but will it let you do it with sub-domains?



Ok, well not quite that answer I was looking for - but the general consensus on how to do this, is just to purchase a domain PURELY for the CDN stuff. Not ideal, but it should work for what we need :smile:



This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.