Next problem... To make the ad clickable and go to the correct website, I have 
an <a href="link_router.cfm"> wrapping the image that is retrieved by the ad. 

The link_router.cfm simply looks for the last ad that was requested (the 
datetime stamp was updated in the ad table when it was requested). That link 
would be then  initially be that viewer's ad, but only for a short period of 
time, until the next person to view the blog page requested an ad image (the 
next one in the queue) and the datetime stamp changes. 

So, how can I assure that the correct link will be retrieved? 

Idea.... When the ad is requested, insert the ad id and the link along with a 
datetime stamp and the ip address that requested it. I'm not sure how accurate 
that would be if the user has an AOL browser.

Is there a better way? 

Thanks so much. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337417
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to