Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

AdRotator Solution
Hopefully someone can offer me a workaround to this problem:

I am using adRotator to rotate some reminders on my intranet site. I have a
redirect page name redirect.asp that recieves the querystring variable, 'url
'
and redirects the user to that page. One of the reminders should be
redirected to a url that contains query strings itself. The url passes in th
e
string up to the first '&'. What should I do. Here is the code on the page
displaying the ad:

<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
adrotator.TargetFrame="target='_blank'"
response.write(adrotator.GetAdvertisement("banners.txt"))
%>

This is the code on my redirect.asp page

<%
url = request("url")
response.redirect(url)%>

This is the banner info in the text file that controls the redirection:

redirect redirect.asp
border 0
height 127
width 218
*
images/ads/awards1.jpg
http://pub46.bravenet.com/calendar/...
6&eventid=5308
Awards
50
images/ads/calendar_reminder.jpg
http://www.starone-intranet.com/main.asp
Banner2
50

The bravenet url is not completely passing from the redirect to bravenet.
What should I do? I've already tried enclosing the url in the text file in
quotes. Suggestions are appreciated.


Report this thread to moderator Post Follow-up to this message
Old Post
Erica
10-28-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:17 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.