Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:37 AM
Apostolis K.
Guest
 
Posts: n/a
Default 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
%>


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles