September 2007
Intermediate to advanced
600 pages
20h 21m
English
You already have learned how to set cookies using the <cfset> tag and the special COOKIE scope (Listings 20.1 to 20.3). Using that technique, setting cookies is as simple as setting normal variables. However, sometimes you will want more control over how cookies get set.
To provide you with that additional control, ColdFusion provides the <cfcookie> tag, which is an alternative syntax for setting cookie variables. Once set, you can access or display the cookies as you have learned so far, by referring to them in the special COOKIE scope.
Table 20.2 introduces the attributes available when using <cfcookie>.
| Attribute | Purpose |
|---|---|
| NAME | Required. The name ... |
Read now
Unlock full access