<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015990" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015990</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1093553</link>
    <description> &lt;p&gt;Keith,&lt;/p&gt;
&lt;p&gt;What you need to stop cacheing is to have the SRC attribute of the image tag change dynamically on every page view, such as with a small javascript.&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;javascript&quot;&amp;gt; &#039;;&lt;br /&gt;
 document.write(img);&lt;br /&gt;
// --&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;this will change the image SRC on every page view, even if they hit the back button, so no reading will be done from cache...&lt;/p&gt;
 </description>
     <pubDate>Thu, 08 Nov 2001 21:53:44 +0000</pubDate>
 <dc:creator>netcommr</dc:creator>
 <guid isPermaLink="false">comment 1093553 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1093034</link>
    <description> &lt;p&gt;for no cache&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Nov 2001 03:30:33 +0000</pubDate>
 <dc:creator>MarcD</dc:creator>
 <guid isPermaLink="false">comment 1093034 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092968</link>
    <description> &lt;p&gt;Thanks for all your help. I know that my site was being stored in the users cache. I was hoping someone could help me prevent it. I will look around&lt;/p&gt;
&lt;p&gt;Keith&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 12:26:06 +0000</pubDate>
 <dc:creator>keith2045</dc:creator>
 <guid isPermaLink="false">comment 1092968 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092957</link>
    <description> &lt;p&gt;we use a php one that can be used in multiple sites / servers&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://216.85.105.5/r6/phpads.php3?what=461x80&amp;amp;n=ban1&quot; border=&quot;1&quot; /&gt;&lt;/p&gt;
&lt;p&gt;using this php script within an img tag will pull a random picture out of that set field  you can set different sizes and levels it also handles click stats with a code like&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://216.85.105.5/r6/click.php3&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;is that what you mean ?&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 07:12:14 +0000</pubDate>
 <dc:creator>MarcD</dc:creator>
 <guid isPermaLink="false">comment 1092957 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Random rotation and caching</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092946</link>
    <description> &lt;p&gt;The reason the banners on this site show you different banners is because they rotate in a random fashion.  It&#039;s a server-side script (you can get many for free out there).&lt;/p&gt;
&lt;p&gt;The reason you only get one viewing instead of two is because the page is cached in your browser (not recreated every time you view the page). According to the browser, it&#039;s still showing you the same file, it hasn&#039;t pulled another from the server.&lt;/p&gt;
&lt;p&gt;Yes, of course the code would help.  However I think you would do well to read some more and ask some more questions so you can get a better understanding of the difference between server-side and client-side technologies.  Keep asking!&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 05:47:34 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1092946 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092942</link>
    <description> &lt;p&gt;Let me give you an example.  When i visit the main page for the webmaster forums i see a banner (sports one). I then click calender. Then i click back to the main page right after the calendar page loads. I see a different banner then the sporst one&lt;/p&gt;
&lt;p&gt;Now for my web site. I visit the main page. I see a Yahoo banner. Then click over to another page. Once that loads i hit a link that goes back to the main page. I still see the Yahoo banner. My script then prints in a file that i have viewed it (the yahoo banner) 1 time, not 2 times. Understand? Why is it doing this? I think you might have to see the code to tell me why, right?&lt;br /&gt;
I will post the code if you want me to. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Keith&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 03:53:34 +0000</pubDate>
 <dc:creator>keith2045</dc:creator>
 <guid isPermaLink="false">comment 1092942 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092940</link>
    <description> &lt;p&gt;What do you mean? &lt;/p&gt;
&lt;p&gt;You could use a randomizing script for the banner, to usually prevent showing the same banner all the time, or you could set a cookie for each user so they never see the same banner twice.&lt;/p&gt;
&lt;p&gt;What do you mean after 30 seconds? What happens after 30 seconds?&lt;/p&gt;
&lt;p&gt;Please clarify.&lt;/p&gt;
&lt;p&gt;Suzanne&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 03:29:05 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1092940 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092926</link>
    <description> &lt;p&gt;Is their anything i can do about it? I mean prevent it from showing the same banner? Any ideas? That code i posted works, but like after 30 sec.&lt;/p&gt;
&lt;p&gt;Keith&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 00:23:01 +0000</pubDate>
 <dc:creator>keith2045</dc:creator>
 <guid isPermaLink="false">comment 1092926 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Perl code is not cached</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092924</link>
    <description> &lt;p&gt;The RESULTS of the Perl code (the generated HTML pages) is what goes into the user&#039;s cache.  Perl creates the pages on the server and then delivers them (same as any server-side language) as HTML documents.  The code you use to create those documents never leaves the server.&lt;/p&gt;
&lt;p&gt;hth,&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Thu, 01 Nov 2001 00:12:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1092924 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/banner-rotators#comment-1092919</link>
    <description> &lt;p&gt;OK thanks for your help, but i have one problem. When a viewer views my site it gets stored in their cache. I know i can put this (below) in the html to stop it but what can i put in the perl code to prevent this?&lt;/p&gt;
&lt;p&gt;Keith&lt;/p&gt;
 </description>
     <pubDate>Wed, 31 Oct 2001 23:52:19 +0000</pubDate>
 <dc:creator>keith2045</dc:creator>
 <guid isPermaLink="false">comment 1092919 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
