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

cfcookie support in CFScript

Explorer ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

Views

590

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 ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

I cannot get either example above to work in CF 10. I get the following error:

Cookie value cannot be set.

Cookie values must be strings. The value you have provided cannot be converted to a string.

The error occurred in C:\ColdFusion9\wwwroot\WebSites\XXX\mobile\login.cfm: line 11

9 :

10 :

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
Advocate ,
Feb 26, 2013 Feb 26, 2013

Copy link to clipboard

Copied

LATEST

I just tried both examples and they worked fine.

This is on an unpatched install of CF10 Developer (10,0,0,282462).

What version are you running?  Perhaps a bug was introduced in a patch.

jason

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