CTalkobt.Net




Programming Newsgroup Tips & Tricks CubeCart Stuff
Subject: Re: javascript code for page refresh
From: David Dorward
Date: Fri, 26 Aug 2005 15:59:11 +0100
Newsgroups: alt.html
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
Path: bigbe2.bellsouth.net!bigfeed.bellsouth.net!news.bellsouth.net!news.glorb.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news.he.net!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
Newsgroups: alt.html
Lines: 14
Message-ID:
References: <1125065267.286126.216490@z14g2000cwz.googlegroups.com>
NNTP-Posting-Host: dorward1.demon.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: news.demon.co.uk 1125068260 8341 80.177.152.88 (26 Aug 2005 14:57:40 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Fri, 26 Aug 2005 14:57:40 +0000 (UTC)
User-Agent: KNode/0.9.2
Xref: bigfeed.bellsouth.net alt.html:636972

Craig SA wrote:

Does anyone know if there is any code that i can use on my webpage to
make the pages refresh automatically? Maybe a javascript code of sorts.
Otherwise people would have to refresh each page on the website to get
the up to date info.

JavaScript is entirely the wrong way to go about that. Have a read of
http://www.mnot.net/cache_docs/


-- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is