Hi Kev,

When I want expiry control finer than one day, I use TWO cookies, one to store
the value and one to store the expiry date OF THE VALUE (not the cookie).  In
other words:

Cookie1:  Name="UserName" Value"bjork" Expiry="never"
Cookie2:  Name="UserExpiry" Value=#dateadd(15, 'n', now())# Expiry="never"

So the cookies themselves don't expire, but they contain data which includes
'expiry' dates and times.

I'm sure other people have approached this in many other ways, but this
solution seems quite flexible.

Let me know how it looks,
Lee Bjork Borkman
Bjork.Net - ColdFusion Tags by Bjork

---------------

[EMAIL PROTECTED] wrote:
hey, now i may be talking out of my ass, but could you do this???


<CFCOOKIE NAME="Cookie" VALUE="1" EXPIRES=".25">

Now would that mean 1/4 of a day????

kev
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to