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.

HELP!
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------
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.

Reply via email to