• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfcookie

Synopsis

<cfcookie>

Writes a cookie to the user’s browser. Due to the way ColdFusion assembles dynamic pages, you shouldn’t attempt to use the cflocation tag within a template after a cookie variable has been set. In versions of ColdFusion prior to MX, setting a cookie variable and using cflocation afterward resulted in the cookie not being set. This is no longer the case in ColdFusion MX.

Attributes

name=" cookie_name "

Name of the cookie to write. Cookie names can consist of any printable ASCII characters with the exception of commas, semicolons, and whitespace characters. Required.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint