Skip to main content
Participant
July 27, 2006
Question

cfcookie and firefox

  • July 27, 2006
  • 2 replies
  • 272 views
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.
This topic has been closed for replies.

2 replies

Participant
July 28, 2006
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.
Inspiring
July 28, 2006
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.
>