[thelist] Re:cross-domain cookies in Netscape-HTACCESS workaround?

Steven Stalzer steve at newmediacreations.com
Wed Sep 27 14:52:34 CDT 2000


>I ran into this a while ago and wrote about it here:
>http://www.glish.com/archive/showarchive.asp?file=2000_04_02_archive.xml#136
>431

>The short story is that you cannot do what you want. Netscape is following
>the Spec[1] on this one; IE is breaking it.

>[1] http://www.cis.ohio-state.edu/htbin/rfc/rfc2109.html

>Eric

>Eric Costello
>eric at schwa.com
>http://glish.com

Interesting article. I do notice that you are setting a cookie from both
glish.com and www.glish.com, so your server thinks I am two different visitors,
depending on which domain I visit, right?

I spoke to tech support at my hosting provider on this. They suggested modifying
the .htaccess file (UNIX) so that requests for domain.com are redirected
immediately to www.domain.com. Presumably the idea here is you control the url
requested before the cookie is set so that it is set from the domain you want.
I'm a bit skeptical that this would work, never having modified the .htaccess
file before for such a purpose, especially since both versions of the domain
point to the same IP address, and therefore the same .htaccess file.

Anyone out there have any experience with this? Could this be a workaround?

Steve
--
Steven Stalzer, President
www.townvalues.com
New Media Creations, Inc.






More information about the thelist mailing list