Ask a Question related to Macromedia ColdFusion, Design and Development.
-
sdsinc_pmascari #1
CFCookies Disappearing
We're having a problem with cookies disappearing. Here's a simple code we have:
<cfcookie domain=".ourdomain" name="test" path="/subscriber/" value="work,
dammit!" expires="NEVER">
<cfoutput>
<cfif isDefined("cookie.test")>
#cookie.test#
<cfelse>
No cookie
</cfif>
</cfoutput>
When this page loads, the cookie is detected and the value of the cookie
displayed on the screen. However, as soon as we navigate away from the page,
the cookie can long longer be found. Another weird observation...while this
page is loaded, the cookie is detected and the value displayed BUT when we
check out the list of cookies on the browser our new cookie is not there.
So what's going on? CF seems to be setting some kind of "phantom" cookie on
the page where it can detect it. But nothing is actually placed on the browser
so no other pages will find the cookie.
I'm aware that no cookie will be set if there is a CFLOCATION or CFFLUSH tag
on the page. There are none and let me repeat that CF detects the cookie when
this code loads...it just disappears once we leave the page.
It does this on both Firefox and IE.
Any ideas?
sdsinc_pmascari Guest
-
Disappearing variables
I have an array declared like this: _root.initialize = function() { currentslide = 1; numslides = 3; framelabels = new Array(); Inside this... -
disappearing casts please please help
i have been trying to create a projector using mx. my director file has an internal cast of tiffs which disappear from the projector file when i... -
Disappearing text...
I've been having weird problems with editable field members, where the text will just disappear. It's still there, in that you can edit the cast... -
PS 7.0 started DISAPPEARING!!!!!!!
I've been racking my brain all day on this one... I have Photoshop 7.0 on XP Pro. It's a new computer, but everything has been working fine for a... -
Disappearing Files!
Hello - I have a Mac Quicksilver G4 733 w/ 1.25GB RAM running OS 9.2.2. The *VERY* bizarre problem I'm having is this: I drag a file from a... -
_Roudh #2
Re: CFCookies Disappearing
I'm a basic user, but it works for me.
I've never used the domain or the path part of the tag before - Are you sure
it'll still work if the page that you are navigating TO (when it don't work) is
in the same path?
_Roudh Guest
-
sdsinc_pmascari #3
Re: CFCookies Disappearing
Found the problem. From MM docs:
From macromedia documenation: For top-level domains, two periods are required; for example, ".mgm.com".
sdsinc_pmascari Guest



Reply With Quote

