Brad,
Change the code to this <cfcookie name="chocolcateChip value="1"
expires="#CreateTimeSpan("0","0","120","0")#">
The third spot is minutes.
The
Thank You,
Peter
Peter J. MacDonald II
Creative Computing, Inc.
100 Middle Street
Lincoln, RI 02865
Phone: 401.727.0183 x123
Fax: 401.727.4998
Portable: 401.965.3661
E-MAIL: [EMAIL PROTECTED]
Web Page: www.creatcomp.com
-----Original Message-----
From: Brad Squires [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 1:22 PM
To: CF-Talk
Subject: Cookie
I am having a problem setting a cookie for less than a day with Cold Fusion.
I am using the <cfcookie> tag with a CreateTimeSpan(0,2,0,0) expire
attribute. The documentation is fairly unclear (what do you know!) and it
says the expire="" attribute takes a numeric value for # of days, but I want
a 2 hour timeout.
<cfcookie name="chocolcateChip value="1"
expires="#CreateTimeSpan(0,2,0,0)#">
Brad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists