> Hi all. I'm having trouble with this one. I could use a pointer, or
> at least someone tell me it doesn't work so I can stop. :)
>
> I need to set a cookie on a secure server then read it on a
> non-secure server. In some instances I'd like to be able to read it
> from a different domain entirely. When I just set this cookie from
> the url:
>
> https://secure.tropicalwebcreations.net/cookietest.cfm
>
> <cfcookie name="setcookie" expires="1" value="Test">
>
> I can read it from that url, but not from:
>
> http://www.tropicalwebcreations.net/cookietest.cfm
>
> So, I'm using the domain attribute:
>
> <cfcookie name="setcookie" expires="1"
> domain=".tropicalwebcreations.net" value="Test">
>
> Then I can read it from the URL above but not from the same domain
> without the www.:
>
> http://tropicalwebcreations.net/cookietest.cfm
>
> Also, I thought you could set a different domain entirely:
>
> <cfcookie name="setcookie" expires="1" domain=".twcreations.com"
> value="Test">
>
> But I can't read that one at all. Can a cookie be set to be read from
> a different domain entirely? I'd have to presume it could since they
> give you the option of setting cookies using multiple domain
> attribute values.
Because you're adding the "." in the domain, a domain name without that is
not within the same range - try it without the dot - I know it's not how
it's meant to be built, but it might work
My DNS doesn't point to non-www. domains for my sites, so I can't test it
easily
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.