CFCookies Disappearing

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. Disappearing variables
      I have an array declared like this: _root.initialize = function() { currentslide = 1; numslides = 3; framelabels = new Array(); Inside this...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139