FROM the CFStudio documentation....
CFCOOKIE
Defines cookie variables, including expiration and security options.
Syntax
<CFCOOKIE NAME="cookie_name"
VALUE="text"
EXPIRES="period"
SECURE="Yes/No"
PATH="urls"
DOMAIN=".domain">
NAME
Required. The name of the cookie variable.
VALUE
Optional. The value assigned to the cookie variable.
EXPIRES
Optional. 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's browser.
SECURE
Optional. Indicates the variable has to transmit securely. If the browser
does not support Secure Socket Layer (SSL) security, the cookie is not sent.
PATH
Optional. Specifies the subset of URLs within the specified domain to which
this cookie applies:
PATH="/services/login"
Separate multiple entries with a semicolon ( ; ).
DOMAIN
Specifies the domain for which the cookie is valid and to which the cookie
content can be sent. An explicitly specified domain must always start with a
dot. This can be a subdomain, in which case the valid domains will be any
domain names ending in this string.
For domain names ending in country codes (such as .jp, .us), the subdomain
specification must contain at least three periods, for example,
..mongo.stateu.us. In the case of special top level domains, only two periods
are needed, as in .allaire.com.
When specifying a PATH value, you must include a valid DOMAIN.
Separate multiple entries with a semicolon ( ; ).
Usage
Cookies written with CFCOOKIE do not get written to the cookies.txt file
until the browser session ends. Until the browser is closed, the cookie
resides in memory. If you do not have an EXPIRES attribute in a CFCOOKIE,
the cookie set exists only as long as the client browser is open. When the
browser is closed, the cookie expires. It is never written to the
cookies.txt file.
-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 11:12 AM
To: CF-Server
Subject: RE: cgi.http_cookie
I have looked in the documentation cgi.http_cookie is not there nor is it in
studio under the tags BUT i have come across code which uses it and refers
to it?No one seems to have used it or know anything about it?
-----Original Message-----
From: Vonancken, Curt (NCI) [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2001 15:44
To: CF-Server
Subject: RE: cgi.http_cookie
Read on the CFCOOKIE tag in your documentation. just as an FYI though be
sure to test it as I have found certain versions of Netscape to be really
fussy over setting cookies with cf.
-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 4:59 AM
To: CF-Server
Subject: cgi.http_cookie
Hi
I have just come across a cgi variable called http_cookie which i cannot
find any documntation on
does any one know how it works ? Is it a safe way to check that cookies are
on?
Also can cookies be updated?I have a cookie which i would like to write a
new value to on every page however only the original value seems to remain.
Any tips/insight is appreciated!
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com