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.