Problem with CGI Banner Program - Banners do not reload
A client of ours has just installed a cgi banner program on their site. They are having a problem with the banners not reloading. That is, once a banner loads on one page that same banner follows the user throughout the site without reloading.
The person who wrote this code is backed up and will not have time to get to it for a week or so, so we thought we might be able to save time if someone here knew what the problem might be.
The code is on each individual page inside the site. The program is supposed to serve ads randomly until their number of impressions are used. But since the banner is not reloading the number of impressions are a fraction of what they are supposed to be. Any help you can give us is appreciated.
Thank you,
Mountain WorldWide
- Search Engine Optimization
- Banner Advertising
- Opt-In Email Advertising
- Media Planning & Buying
- and much more...
MOUNTAIN WORLDWIDE
Anonymous posted this at 23:30 — 6th October 1999.
They have: 5,633 posts
Joined: Jan 1970
This is most probably a problem with browser cache.
What's happening is that once the banner is loaded, it's stored in visitor's hard drive, and then each time the image is called, the browser will pull it from the H.D instead of the script (the browser doesn't know he's going to get a new banner )
To solve this, you'll have to use JavaScript to generate a random number and append it somewhere on the URL of your banner rotator script. Ask in the JavaScript forum, someone there will probably know how to generate random numbers.
Regards,
Federico Carnales
----------
Reviews of the best resources for webmasters in your e-mail every week!
Subscribe for [red]FREE[/red] by going to http://www.web-reviews.com/
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.