In *ANY* other realm dick.. your comment woulda been seen
as extremely sad.

Just try explaining to a non web developer what
"Viagra for your cookies." means.


Jeremy

-----Original Message-----
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2000 11:14 AM
To: [EMAIL PROTECTED]
Subject: Re: How do I find the Expiration date of a cookie?


You can't.

But you can log to a db when set the cookie... gives the same thing.

If all you want to do is reinvigorate an aging cookie, all you need
do is set a new cookie with the same info, except a new expiration
date... kinda' a viagra for your cookies.

Dick



At 9:42 AM -0500 8/30/00, Larry Juncker wrote:
>When a cookie is set on a machine, how can I test for an expiration date?
>
>I have written the following which seems to test for my code in a cookie,
>but do I need to test for it being expired or not?
>
><CFIF IsDefined("Cookie.ab_referer")>
>       <CFIF NOT Cookie.ab_referer CONTAINS "AID">
>               <cfcookie name="ab_referer"
>value="cs_uri_stem#?#cgi.QUERY_STRING#"
>expires="45">
>       </cfif>
><CFELSE>
>       <cfcookie name="ab_referer" value="cs_uri_stem#?#cgi.QUERY_STRING#"
>expires="45">
></cfif>
>
>I have only certain cookies being set with the AID value in them.
>
>Thanks for the earlier answers and for any help to come.
>
>H   Larry Juncker
>  L  Senior Cold Fusion Programmer
>   I Heartland Communications Group
>           Internet Division
----------------------------------------------------------------------------
--
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.

------------------------------------------------------------------------------
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.

Reply via email to