Welcome to WebmasterWorld Guest from 184.73.112.180

Forum Moderators: open

Random number / cache buster

Random number / cache buster

   
12:38 pm on Jun 30, 2004 (gmt 0)

10+ Year Member



Hi there.
Through an affiliate network I am going to be linking to a mobile phone company. The network has provided me with banner code but wants me to add a random number or timestamp into the code to ensure the banners are not stored in the user's cache.

Can anyone give me the java script to do this -or offer advice. The pages the banners are displayed on are shtml so I could use SSI if need be, but cannot use PHP, ASP etc to do it.

Thank You

5:55 pm on Jun 30, 2004 (gmt 0)

10+ Year Member



Sure that's easy enough.

First off, you'll be using javascript to grab his banner, and by adding a random number to the end of the url, that prevents caching.

[developer.irt.org...]

Has a good script for random numbers

 

Featured Threads

Hot Threads This Week

Hot Threads This Month