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