Re: Continuing WebCam Saga

by "Octavian Rasnita" <orasnita(at)home.ro>

 Date:  Mon, 24 Feb 2003 08:41:19 +0200
 To:  "Jeff Nelson" <nelson_j(at)speakeasy.net>,
<hwg-techniques(at)hwg.org>
 References:  fl jgndesigns
  todo: View Thread, Original
Hi,

I've seen that if inserting those HTTP headers in the HTML document in the
<meta http-equiv=..." ...> tag, they don't work as they should.
You should print the real HTTP header but for this you will need to use a
programming language on the server like perl, php, asp...

The needed HTTP tags are:

Pragma: no-cache
Cache-control: no-cache
Expires: Thu, 12 Dec 3009 00:00:00 GMT

I know how to set them in perl, but I don't know how to set them in other
programming languages, so you might need to ask this.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: orasnita(at)home.ro

----- Original Message -----
From: "Jeff Nelson" <nelson_j(at)speakeasy.net>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, July 23, 2003 8:20 PM
Subject: Re: Continuing WebCam Saga


Hi John,

On Wed, Jul 23, 2003 at 11:45:31AM -0400, John Hornbuckle wrote:
<snip>
> I never could get the applet to work quite the way I wanted, so I've
revered
> to the old-fashioned way of doing things; using the "refresh" tag.
>
> Problem is, things aren't refreshing quite right.
>
> Here's the URL:
>
> http://www.taylor.k12.fl.us/district/webcams/noc
>
> The page should refresh every 15 seconds. It appears to do so, but the
image
> never changes on my screen--even though I know the image behind the scenes
> is being updated every 15 seconds. I can force a refresh using IE 6's
> "Refresh" button, and the updated image will appear. But on its own, it
> won't.
>
> Any ideas what may be going on here? The browser seems to think that
nothing
> has changed, so it's using a cached copy of the image. I've tried all the
> tricks I know, including these two tags:

Sure. An IE6 "feature". For an explanation and a solution see:

http://www.htmlgoodies.com/beyond/nocache.html

However, I prefer to expire pages from server. That way the expires date
is included in the HTTP header.

> <meta http-equiv="pragma" content="no-cache" />
> <meta http-equiv="expires" content="thu, 16 DEC 1999 00:04:00 PST" />
>
> I'm open to other suggestions...

<snip>

Have a great day,
-jeff

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