3-1-Tags:CFCookie

last edited byusericonlmajano on 23-Aug-2009

Contents

cfcookie

Description

Defines cookie variables, including expiration and security options.

Category

Other

Implemented

Usage Syntax

<cfcookie  
	name="String"
	[value="String"]
	[expires="object"]
	[secure="Boolean"]
	[path="String"]
	[domain="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
name String Yes The name of the cookie variable.
value String No The value assigned to the cookie variable.
expires object No Schedules the expiration of a cookie variable. Can be specified as a date (as in, 10/09/97), number of days (as in, 10, 100), "Now", or "Never". Using Now effectively deletes the cookie from the client browser.
secure Boolean No Yes or No. Specifies that the variable must transmit securely. If the browser does not support Secure Socket Layer (SSL) security, the cookie is not sent.
path String No
domain String No

Example Usage

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

comments Comments (0)

You need to login in order to comment!