Setting Cookies In CFScript Using Structs In ColdFusion 10

  • Early on, you could only set the cookie value using a simple string.
  • With the approach, the struct contains the configuration for the cookie value.
  • // When setting the cookie as a simple value, you end up creating a “session cookie”

Read the full article, click here.


@JavaScriptKicks: “Setting Cookies In CFScript Using Structs In ColdFusion 10 by @bennadel #javascript #angularjs via @JavaScriptKicks”


Ben Nadel demonstrates that cookies can be defined in CFScript using a Struct in ColdFusion 10. This provides full native CFCookie support in CFScript before ColdFusion 11.


Setting Cookies In CFScript Using Structs In ColdFusion 10

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.