I have several sites. Each site is a localized version serving content specific to a given set of locales. There is also a worldwide or "global" site. I have a setup as follows:
I am trying to track activity in each application using a cookie. The cookie name for each site is the same and the default settings for the domain are used (i.e. .net. I do not specify a value for httpCookie.Domain - I leave it by default).
Everything works fine when I visit my "local specific" sites, but as soon as I am on a "global" site, it seems that the cookie from this site is used when I return to visit my "local specific" sites, and not a file cookie issued for a locale-specific site.
Any ideas on how to make my "global" cookie take precedence over my "local specific" cookie on locale-specific sites?
cookie . , ; , , .
IE cookie, , . , cookie example.com, sub.example.com.
, . , ( JustLoren) www.example.com, example.com.
www.example.com
example.com
cookie , , document.cookie 'a=b; a=c'. cookie cookie , ( ).
document.cookie
'a=b; a=c'
, , - cookie .
bobince Internet Explorer. , Edge -, FireFox ( ).
- cookie, , , . path=/ .
path=/
, , cookie. , cookie -