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
%>