By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,352 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,352 IT Pros & Developers. It's quick & easy.

Ad Rotator Component Doesn't rotate ads

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.