Use CreateTimeSpan(0,0,10,0)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: "Sean McCarthy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 8:20 AM
Subject: RE: cfcookie expires syntax


> 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
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to