One way would be when the link is established, put a variable in the URL
that has a time stamp in it.  Then, in your app, put a CFIF that reads that
timestamp if it exists, and don't write out the link if it's after 6 hours.
You could populate the timestamp from a cookie you set on the visitors
client at the time they visit.

Dave

----- Original Message -----
From: "Mark Leder" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 9:32 AM
Subject: Expiring Link


> In an e-com application, how do I create an expiring link which will no
> longer work after, say 6 hours?
>
> Thanks,
> Mark
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to