By adding an expiration date in the database.

table: articles

id
name
article
expiry_date

----

then query:

sql = "select * from articles where expiry_date < '" & date() & "'"

Warning this code may not work due to varying date settings in your 
application / database and syntax for specifying dates.




----- Original Message ----- 
From: "dilip kumar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, March 26, 2005 12:14 PM
Subject: [AspClassicAnyQuestionIsOk] query


>
> How can a link for a page can be made to expire after
> a certain amount of time?
>
> Regards
> Dilip
> 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to