PDA

View Full Version : SSI doesn't execute on page autorefresh


Strangeplant
06-28-2006, 06:45 PM
Hi, I hope this is the place to post this. My reference page is at: http://earth.engr.ccny.cuny.edu/noaa/wc/TSI/html/recent.html This html page has a SSI which displays correctly when the page first loads. The page auto-refreshes every minute to display the current images and values.<span style='font-size:10.0pt;font-family:"Trebuchet MS";'>
Air Temp, F = 81.32 Wind Speed, mi/hr = 8.04 Air Pressure, bar = 1.005



</span>
<br>

<b><span style='font-size:12.0pt;font-family:"Trebuchet MS";color:gray;'>
Image captured and processed Wednesday, June 28, 2006 5:34:00 PM GMT+00:00
<br> However, the SSI works only the first time. Looking at the times embeded in the code, it looks like the page is comming from a cache and is not up-to-date, <span style='font-size:10.0pt;font-family:"Trebuchet MS";'>
<!--#include file="TSIWeatherData.html" -->
</span>
<br>

<b><span style='font-size:12.0pt;font-family:"Trebuchet MS";color:gray;'>
Image captured and processed Tuesday, June 27, 2006 3:44:00 PM GMT+00:00
<br>in fact, never changes (It is actually yesterday's page.) Clearing the browser cache has no effect. The file heading has this:<!DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta http-equiv="expires" content="Wed, 08 Mar 2006 12:00:01 GMT">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv=Refresh content="60; URL=recent.html">
<title>TSI-440 Data</title> so there should be no cache. The server settings can be seen at: http://earth.engr.ccny.cuny.edu/noaa/wc/phpTest.php What do I do to get it to display the SSI on every refresh? I believe that it used to work correctly before the server was rebuilt, it's a server setting, right? But what do I change?