<COOKIE
	name="name of the cookie"
	expires="now | never | datetime"
	secure="true | false"
	comments="plain English comments"
	onCondition="an expression"
	format="CFML | WDDX"
	optional="true | false"
	default="default value if none is given">
	

The cookie tag directs a cookie to be stored in the client's browser containing a value. This is often needed for storing a token to represent the user's browser.

NAME

Required. This is the name of the variable.

EXPIRES

Optional. When the cookie will be deleted by the browser.

SECURE

Required. Whether the cookie should be transmitted securely over HTTPS.

COMMENTS

Optional. These are the plain English comments that describe the variable in detail.

MASK

Optional. If you need a string to 'look' a certain way, assign a mask to it. This will be more useful with future versions of Fusedocs.

ONCONDITION

Optional. Any expression, similar to use as in <cfif>. If this expression evaluates to true, this variable is used.

FORMAT

Optional. This specifies whether the variable is a regular CFML variable or a WDDX packet that should be deserialized.

OPTIONAL

Optional. If the variable is not required, set this as "yes". If this attribute is not included, it is assumed to be "no".

DEFAULT

Optional. Optional variables have a default value. The default value is the value the variable will assume if no value is passed into the fuse.