2422Creating a simple ad rotating system using ASPhttp://www.kamath.com/tutorials/tut006_adrotator.aspCreating a advertisement rotator page is easy - ASP comes with an Adrotator component that's easy to use. The component, called AdRotator, is installed when you install ASP. The component has been a part of ASP installation since the first version of ASPASP > Tips and Tutorials > Ad ManagementOct 10, 2006
Creating a advertisement rotator page is easy - ASP comes with an Adrotator component that's easy to use. The component, called AdRotator, is installed when you install ASP. The component has been a part of ASP installation since the first version of ASP
display as many banners as you want. Just change the intTotalBanners to how many banners you have and change the saryBanners(3,3) number 3 (in red) to how many banners you have add more saryBanners(1,3) (changing the number in red for each new banner, go up 1 each time).
therefore very important that my clients' clicks aren't being "used up" by malicious users clicking ads over and over, or by programs like spiders, crawlers and robots who visit the site and click on every link in sight!
banners are all stored in a database table, but I don't access the database to serve the ads. Instead, at the beginning of every day the site automatically loads the ads for that day into Application variables. How the "BrandNewDay" trigger works is discussed in a related article about tracking IP addresses.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.