Create a small application that populates a table based on a product id and
set it from 1-365 (for days of the year) ... then use the cf function
#DayofYear()# to get todays number then just keep displaying that product
id.

It may not be exactly what you are looking for, but it would give you some
control over the products that are added to the list as well.

It doesn't need session variables or application variables either.

I am sure there are other solutions

Good Luck
Paul Giesenhagen
QuillDesign

----- Original Message -----
From: "Che Vilnonis" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 1:38 PM
Subject: Random Product, with a twist?


> What would be the easiest way to display one random product
> pulled from a database every 24 hours without session or
> client variables? Each page refresh would deliver the same
> content for a 24 hour period.
>
> Could this be done based on the "applicationtimeout"
> setting from the <cfapplication> tag? My default timeout is
> 24 hours. (applicationtimeout="#CreateTimeSpan(1,0,0,0)#")
>
> TIA...Ch�
>
> 
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to