AdRotator - Detect duplicate images on page
Posted on 2006-04-14
I have 4 ad rotators on the one page. I'd like to have them all using the same XML file / db query, but would like to ensure that there's no duplicate images shown.
I figured I could create a collection of displayed images on the page, and use the adcreated event to capture the ad being displayed, check the collection and if no duplicates, display it.
However, if it IS duplicated, how do I get the control to select the next from the list. I intend to use the Impressions tag to provide weighted impressions, so would like to allow the adrotator to continue managing the selection of the next image. Is there a way I can do this?
Any alternative approaches would be accepted!