> So for website1.domain.com
> <cfcookie name="adminUser" value="#form.username#"
> domain="website1.domain.com">
>
> And
> Website2.domain.com
> <cfcookie name="adminUser" value="#form.username#"
> domain="website2.domain.com">
>
> Would set them differently .. and if you where on website1
> with that cookie set, and then tried to go to website2, the
> cookie would not be available correct?

No, apparently I have it backwards. According to the local test I just ran,
if you omit the DOMAIN attribute, the cookies are host-specific. If you want
the cookies to be available to all hosts within "domain.com", you'd set the
DOMAIN attribute to ".domain.com" (note the leading period).

Sorry for the misdirection.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to