> All the examples in the CFdocs show cookie expire values as
> date values. I'd like to know if it's possible to specify a
> date AND time to expire a cookie, and if so, what is the
> correct syntax?
Cookies do allow you to specify dates and times, but the CF documentation on
using CFCOOKIE to do this is pretty thin. One way you can do this is with
the CreateTimeSpan function. I suspect that you can do this with other CF
date-time functions as well. For example, I can create a cookie which will
expire in one minute like this:
<CFCOOKIE NAME="testmebaby" VALUE="ok" EXPIRES="#CreateTimeSpan(0,0,1,0)#">
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.