Answer
Mar 06, 2009 - 04:02 AM
Nope, this is not possible. A webpage can only receive or set cookies in subdomains belonging the the domain where the web page lives. From the "Persistent Client State HTTP Cookies" specs:
- Only hosts within the specified domain can set a cookie for a domain and domains must have at least two (2) or three (3) periods in them to prevent domains of the form: ".com", ".edu", and "va.us". Any domain that fails within one of the seven special top level domains listed below only require two periods. Any other domain requires at least three. The seven special top level domains are: "COM", "EDU", "NET", "ORG", "GOV", "MIL", and "INT".
Here's a little discussion about it:
http://www.webmasterworld.com/forum91...
IronXavi
- Only hosts within the specified domain can set a cookie for a domain and domains must have at least two (2) or three (3) periods in them to prevent domains of the form: ".com", ".edu", and "va.us". Any domain that fails within one of the seven special top level domains listed below only require two periods. Any other domain requires at least three. The seven special top level domains are: "COM", "EDU", "NET", "ORG", "GOV", "MIL", and "INT".
Here's a little discussion about it:
http://www.webmasterworld.com/forum91...
IronXavi
Add New Comment