473,385 Members | 1,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Ad Rotator Component Doesn't rotate ads

I use an AdRotator component but it doesn't seem to rotate any ads? How long
does it take to rotate an ad? The RatioNumber(= 4) is the frequency that the
ad is being show but I am not sure to what this value is relative. My
browser has stuck in Ad#2 about half an hour ago. Should I wait more for
this ad to rotate?

----index.asp----
<%
Set objAd=Server.CreateObject("MSWC.AdRotator")
vAdRotation=objAd.GetAdvertisement("ads.txt")

Response.Write "<center>" & vAdRotation & "</center>"
%>

----ads.txt----
REDIRECT redirect.asp
*
1.jpg
http:www.1.com
1.com
4
2.jpg
http:www.2.com
2.com
4
3.jpg
http:www.3.com
3.com
4
4.jpg
http:www.4.com
4.com
4
5.jpg
http:www.5.com
5.com
4

----redirect.asp----
<%
vURL=Request.QueryString("url")
Response.Redirect vURL
%>
Jul 19 '05 #1
0 2043

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Apostolis K. | last post by:
I include an AdRotator component but the component doesn't rotate the ads _index.asp_ <% Set objAd=Server.CreateObject("MSWC.AdRotator") vAdRotation=objAd.GetAdvertisement("ads.txt") ...
2
by: apchar | last post by:
I have a simple ad rotator that's driving mozilla and netscape a little crazy. You know that symbol in the upper right corner of the browser that animates while a page is downloading and is...
4
by: Leon | last post by:
I need an ad management system that record impressions and clicks as well as display gif, jpeg, and flash banners. I don't mind trying to build it myself, but I'm kind of press for time. do anyone...
4
by: | last post by:
I have used my first aspx page on our site to utitlize the Ad Rotator component. However, I note that my traditional asp 3.0 code generations compilation errros (eg Let and Set not allowed in...
2
by: Sehboo | last post by:
Hi, I have an asp question (and not asp.net question), but I don't know the asp groups, and hope that somebody here can tell me the answer or point me to asp group. I am looking for code...
3
by: Mark A. Sam | last post by:
Hello, Does anyone know of a third party ad rotator that automatically changes the images? It seems like the ad rotator in that comes with Visual Web Developer changes images only when the...
0
by: Scott | last post by:
Hi Everyone, I would like to rotate a series of images based on a time interval, not when the pages is refreshed. Can the AdRotator control be configured to change images every x seconds? I found...
2
by: senfo | last post by:
I'm using a ListView control to display pictures similarly to how Windows Explorer displays pictures in "Thumbnails" view. The images are stored in an ImageList component. I would like to provide...
1
by: sridhar21 | last post by:
Hi to all i am doing one sample project In my first page i want to display some images and i want to rotate the image using some time condition ie., i have 4 images, the first image will...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.