Set cookie on 2 subdomains

Hi,

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:

m.site.com

cdn.site.com

If someone is on m.site.com and www.site.com, 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 .site.com)

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?

Thanks!

Andy

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:

Cheers

Andy

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