I have also tried:
<cfcookie name = "MYCOOKIE"
value = "foo"
expires="#DateFormat(CreateDate(2001,12,31), 'ddd,
dd-mmm-yyyy')# #TimeFormat(CreateTime(00,00,00), 'HH:mm:ss')# GMT">
with no luck
-----Original Message-----
From: Sean McCarthy
Sent: Friday, April 04, 2003 10:26 AM
To: CF-Talk
Subject: cfcookie expires syntax
I would like to expire a cookie after 10 min. Something is not correct with
my syntax any ideas?
<cfset foo = DateAdd("n", 10, Now())>
<cfcookie name = "MYCOOKIE"
value = "#Now()#"
expires = "#foo#">
thanks!
sean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4