467,118 Members | 979 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,118 developers. It's quick & easy.

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
  • viewed: 1473
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Leon | last post: by
2 posts views Thread by Sehboo | last post: by
3 posts views Thread by Mark A. Sam | last post: by
reply views Thread by Scott | last post: by
2 posts views Thread by senfo | last post: by
1 post views Thread by sridhar21 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.