You are correct. mysite.com and www.mysite.com are different domains. Since one is a subdomain of the other it is possible to use one cookie for both (by designating authority for cross-site scripting to the parent mysite.com) HOWEVER: Having your site accessible under multiple domains (www and no www count as multiple domains) is VERY BAD for SEO as it can flag you in the search engines as having duplicate content.
Pick either www or no www, but don't do both. Have a redirect on whichever you DON'T do so that visitors that type in the alternate will still end up at your site.
|