Re: meta tag

by "Cyanide _7" <leo7278(at)hotmail.com>

 Date:  Fri, 28 Apr 2000 20:05:37 CDT
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
dear list,
  i apologize for the incorrect statement regarding document.referrer in 
this thread. the vast majority of what i say here is from personal 
experience, not the documentation, and honestly do not recall ever getting 
document.referrer to work in IE4. again i apologize. - Cyanide_7

>|
>| >
>| >No its not. document.referrer is "Client-side Javascript 1.0,
>nonfunctional
>| >in IE3" which is not exactly Netscape only and if the code fails they
>will
>| >be unequal and he will have what he started with.
>| >
>| >Rossi Designs
>| >PO Box 1084
>| >Holly Hill, FL 32125-1084
>| >Phone : (904) 226-8979
>| >URL : http://rossidesigns.net
>| >----- Original Message -----
>| >From: Cyanide _7 <leo7278(at)hotmail.com>
>| >To: <webmaster(at)rossidesigns.net>
>| >Sent: Thursday, April 27, 2000 5:58 PM
>| >Subject: Re: meta tag
>| >
>| >
>| >| i'd point out that document.referrer is netscape only, but this is for
>an
>| >| intranet. also, the noscript tag will ensure infinate reloads if js is
>| >off.
>| >| my suggestion is to use the search string with a time stamp. the
>browser
>| >| realizes that the content of the page may rely heavily on the data in
>the
>| >| search string and caches each such location separately. only if the
>page
>| >| with the same search string is loaded does it use the cache, which is
>why
>| >we
>| >| use a constanly changing time stamp. this would be implemented from 
>the
>| >| previous page and appended to the href of the page in question.
>building
>| >the
>| >| string would be as such:
>| >|
>| >| function stampTime(href){
>| >|   return (href+"?tid="+(new Date()).getTime());
>| >| }
>| >|
>| >| - Cyanide_7
>| >|
>| >| >
>| >| >Maybe something like this. (untested)
>| >| >
>| >| ><script language="javascript">
>| >| >if (document.referrer != window.location.href) {
>| >| >document.write('<META HTTP-EQUIV="Refresh"
>| >| >CONTENT="5;URL=http://abc.htm">');
>| >| >}
>| >| ></script>
>| >| ><noscript>
>| >| ><META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://abc.htm">
>| >| ></noscript>
>| >| >
>| >| >Rossi Designs
>| >| >PO Box 1084
>| >| >Holly Hill, FL 32125-1084
>| >| >Phone : (904) 226-8979
>| >| >URL : http://rossidesigns.net
>| >| >----- Original Message -----
>| >| >From: Peter Guse <pgooseman(at)yahoo.com>
>| >| >To: <hwg-languages(at)hwg.org>
>| >| >Sent: Thursday, April 27, 2000 3:28 PM
>| >| >Subject: meta tag
>| >| >
>| >| >
>| >| >| I have the page refreshing after 5 sec but it
>| >| >| refreshes itself every 5 sec.  How do I make it stop
>| >| >| after the first time or first 5 sec.
>| >| >|
>| >| >|  <META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://abc.htm">
>| >| >|
>| >| >| __________________________________________________
>| >| >| Do You Yahoo!?
>| >| >| Talk to your friends online and get email alerts with Yahoo!
>| >Messenger.
>| >| >| http://im.yahoo.com/
>| >| >|
>| >| >
>| >|
>| >|
>________________________________________________________________________
>| >| Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com
>| >|
>| >|
>| >
>|
>| ________________________________________________________________________
>| Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>|
>|
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA