• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfcookie and firefox

New Here ,
Jul 27, 2006 Jul 27, 2006

Copy link to clipboard

Copied

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.
TOPICS
Advanced techniques

Views

252

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 27, 2006 Jul 27, 2006

Copy link to clipboard

Copied

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.
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2006 Jul 28, 2006

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation