2 Replies Latest reply on Jul 28, 2006 7:21 AM by flavio

    cfcookie and firefox

    flavio
      For some reason when I use FireFox, my cookie keeps getting reset right after I delete it/edit value.

      <cfcookie name="test" expires="NOW" value="-10">
      #cookie.TEST#

      When I run the above code, I get a result of -10... which is OK.

      I put #cookie.TEST# at the top of my Application.cfm file so I can keep track of the value - when the next page loads, the value is reset to the original value. Anyone have similar experiences?

      I am using CF MX 6.1.

      F.
        • 1. Re: cfcookie and firefox
          Level 7
          flavio a �crit :
          Maybe because you use : expires="NOW"

          Try with expires="NEVER"

          JiB�
          > For some reason when I use FireFox, my cookie keeps getting reset right after I
          > delete it/edit value.
          >
          > <cfcookie name="test" expires="NOW" value="-10">
          > #cookie.TEST#
          >
          > When I run the above code, I get a result of -10... which is OK.
          >
          > I put #cookie.TEST# at the top of my Application.cfm file so I can keep track
          > of the value - when the next page loads, the value is reset to the original
          > value. Anyone have similar experiences?
          >
          > I am using CF MX 6.1.
          >
          > F.
          >
          • 2. Re: cfcookie and firefox
            flavio Level 1
            I actually want the cookie to expire... I tried with and without the value="-10". I even tried resetting the value, but it is not working.

            Again, this is only an issue with FireFox - IE works fine.

            F.