Click to See Complete Forum and Search --> : how can I have my html page continually refresh?


chippyles
09-25-2006, 09:30 AM
I have 8 computers on a local intranet that have a web page that they use to open programs and view data from an SQL server's table.

I need to have the screen refresh every 15 seconds or so. I have tried using html and java script, but some of the computers still refresh while others stop refreshing. Does anyone know what a computer will stop refreshing after a few hours?

Here is the code I use...

xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:a="urn:schemas-microsoft-com:office:access"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="Extruders_files/filelist.xml">
<link rel=Edit-Time-Data href="Extruders_files/editdata.mso">
<!--[if !mso]>

<noscript>

<meta http-equiv="refresh" content="2">

</noscript>

<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>CutOff_Messaging</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Administrator</o:Author>
<o:LastAuthor>Administrator</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2006-09-20T14:17:00Z</o:Created>
<o:LastSaved>2006-09-20T17:06:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>23</o:Words>
<o:Characters>133</o:Characters>
<o:Company>Lincoln Electric</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>155</o:CharactersWithSpaces>
<o:Version>10.6811</o:Version>
</o:DocumentProperties>
<o:OfficeDocumentSettings>
<o:DownloadComponents/>
<o:LocationOfComponents HRef="file:///\\"/>
<o:DownloadComponents/>
<o:LocationOfComponents HRef="file:///\\"/>
<o:DownloadComponents/>
<o:LocationOfComponents HRef="file:///\\"/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>BestFit</w:Zoom>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
table.MsoTableGrid
{mso-style-name:"Table Grid";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
border:solid windowtext 1.0pt;
mso-border-alt:solid windowtext .5pt;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-border-insideh:.5pt solid windowtext;
mso-border-insidev:.5pt solid windowtext;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
<meta http-equiv=refresh content=15>
<meta name=Template content="C:\Program Files\Microsoft Office\Office\html.dot">

<noscript>

<meta http-equiv="refresh" content="2">

</noscript>

<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>

<CODE REMOVED FOR SPACE>

brad-hmblp
09-25-2006, 10:36 AM
put this with your other meta tags
<meta http-equiv="Refresh" content="15; URL=yourURL.htm">

chippyles
09-25-2006, 11:30 AM
I have tried that. It works, but the page, which stays open for days at a time, does not continue to refresh.

brad-hmblp
09-25-2006, 11:46 AM
When you reload the page does that make it work again or do you have to shut down your browser to make it work again?

Also, what browser are you using?

chippyles
09-25-2006, 11:53 AM
I can click refresh and it goes back to normal with it refreshing every 15 seconds. I am using IE.