Hi Folks
We are testing CF8 and discovered that the cfapplication option
"setdomaincookies" doesn't appear to work with host names like
"www.xyz.com", but does work with "www.extra.xyz.com".

For www.xyz.com, it sends back headers like this:

Set-Cookie: CFID=8500;expires=Sat, 25-Sep-2038 19:52:17 GMT;path=/
Set-Cookie: CFTOKEN=74322795;expires=Sat, 25-Sep-2038 19:52:17
GMT;path=/

But for www.extra.xyz.com, the headers are correct, like this:

Set-Cookie: CFID=8501;domain=.extra.xyz.com;expires=Sat, 25-Sep-2038
19:52:27 GMT;path=/
Set-Cookie: CFTOKEN=18794412;domain=.extra.xyz.com;expires=Sat,
25-Sep-2038 19:52:27 GMT;path=/

(In order to test I added both host names to my
C:\WINDOWS\system32\drivers\etc\hosts file.)

This problem is causing problems with session variables since each host
(abc.xyz.com, def.xyz.com) is getting a unique set of cf cookies.

It looks to me like CF8 is counting the number of periods in the host
name wrong, which seems unlikely, but there it is.

We are running CF8 Standard, version 8,0,1,195765.

Our test page looks like this:

<CFAPPLICATION NAME="TestApp"
        CLIENTMANAGEMENT="No"
        SESSIONMANAGEMENT="true"
        SETCLIENTCOOKIES="true"
        SETDOMAINCOOKIES="true">
<cfdump var="#session#">

Can anybody else reproduce this problem with CF8?  If not, what version
are you using?

Thanks
        Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313407
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to