RE: Missing CFMAGIC cookie??

2003-01-31 Thread Gaulin, Mark
Ah! Thanks! We don't set SetDomainCookie to true on our dev server because
the cookies don't work if the host name has only one "." in it.

With SetDomainCookie = true...
1. host = "staging", cookie domain is not set; this works.
2. host = "test.staging.com", cookie domain = ".staging.com"; this works.
3. host = "test.staging", cookie domain = ".staging", but the cookie domains
are supposed to have two dots in them to be valid; NS and IE won't pass
these cookies back to the server.

(This is for CF5 and earlier; don't know about MX.)

In our application.cfm we test for at least three dots in a host name before
setting SetDomainCookie to true.

Thanks again...
Mark


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 12:17 PM
To: CF-Talk
Subject: RE: Missing CFMAGIC cookie??


CFMAGIC is only set if you have setDomainCookies set to true in your
CFAPPLICATION tag.  It's there to allow you to have multiple domains read
the same cookies to tie together a session across them.  I'd imagine that
you (or someone) accidentally removed that line from the CFAPPLICATION tag
on the dev server, but didn't publish to the production server.

HTH,
barneyb

> -Original Message-
> From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 9:11 AM
> To: CF-Talk
> Subject: Missing CFMAGIC cookie??
>
>
> Hi Folks
> You know the three cookies that CFAPPLICATION sets when you use session
> management... CFID, CFTOKEN, and CFMAGIC? (CFMAGIC is just
> "CFID:CFTOKEN").
> Well we just noticed that one of our development servers is not setting
> CFMAGIC. I don't know when this happened, but it is weird.
>
> Anybody have an idea as to why this might be happening?
>
> My test is to clear cookies, then turn on cookie prompting (using NS4 at
> this point), then hit a page. I see CFID and CFTOKEN coming, but
> no CFMAGIC.
> Do the same test on a production server and you get all three.
>
> Development machine is running CF5 sp 2
> Production machine is running CF5 sp 3
>
> Thanks!
>
>   Mark
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Missing CFMAGIC cookie??

2003-01-31 Thread Barney Boisvert
CFMAGIC is only set if you have setDomainCookies set to true in your
CFAPPLICATION tag.  It's there to allow you to have multiple domains read
the same cookies to tie together a session across them.  I'd imagine that
you (or someone) accidentally removed that line from the CFAPPLICATION tag
on the dev server, but didn't publish to the production server.

HTH,
barneyb

> -Original Message-
> From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 9:11 AM
> To: CF-Talk
> Subject: Missing CFMAGIC cookie??
>
>
> Hi Folks
> You know the three cookies that CFAPPLICATION sets when you use session
> management... CFID, CFTOKEN, and CFMAGIC? (CFMAGIC is just
> "CFID:CFTOKEN").
> Well we just noticed that one of our development servers is not setting
> CFMAGIC. I don't know when this happened, but it is weird.
>
> Anybody have an idea as to why this might be happening?
>
> My test is to clear cookies, then turn on cookie prompting (using NS4 at
> this point), then hit a page. I see CFID and CFTOKEN coming, but
> no CFMAGIC.
> Do the same test on a production server and you get all three.
>
> Development machine is running CF5 sp 2
> Production machine is running CF5 sp 3
>
> Thanks!
>
>   Mark
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4