Actually the docs seem to say that you can't use minutes to timeout
acookie...only a future date or a number of days:
>From the docs:
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.
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
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4