Solved

Remote PopUp Ad Manager

Posted on 2003-10-29
2
165 Views
Last Modified: 2013-12-20
How can I create a pop up ad manager that will enable me to offer other business owners
the ability to sign up for my service, and have their site broadcast randomly across the
system to every web site that has my pop up ad code on it?

Sincerely,
Brandon Powell
0
Comment
Question by:brandonpowell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
procept earned 500 total points
ID: 9644782
I would suggest setting this up as a pull from the client, not a push from the server.

In your DB store clients and their ads. Then have all clients isnert some JS code on their web pages that requests a page from your server and passes their client ID, something like this:
window.open('http://brandons_server/showAd.cfm?clientID=12345");

on showAd.cfm, select all ads EXCEPT the one of the client that is requesting this page and then randomly choose one:
<cfquery name="qryAds" datasource="myDSN">
SELECT url
FROM tblAds
WHERE clientID != #URL.clientID#
</cfquery>

<cfset randdomize(getTickCount())>
<cfset adnumber=RandRange(1, qryAds.recordCount)>
<cflocation url="#qryAds.url[adnumber]#">

That's the general idea... of course there's a lot to do, make a signup page, maybe even book ads or banner types, etc., etc.

HTH,

Chris
0
 

Author Comment

by:brandonpowell
ID: 9647681
Thank you for your help. This solution works great!

Sincerely,
Brandon Powell
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question