You are here: prevent page refresh if content has not changed « All PHP « IT news, forums, messages
prevent page refresh if content has not changed

Posted by Greg N. on 10/19/05 19:15

I wrote kindof a webcam application, which consists of

- a client app that sends images to the server in irregular intervals,
using FTP
- a php page on the server that displays the latest picture

The php page is supposed to be be reloaded by the browser in 15 second
intervals, such that the newest picture is always shown, as long as the
browser is on that page. I'm using the following code in the display
page's HEAD section to trigger the reloading:
<meta HTTP-EQUIV="refresh" Content="15">
<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Now my question:

Is there a way for my display page, in response to a refresh request,
to send a signal to the browser that says something like "keep
displaying the current page, i'm not sending a new one, because it has
not changed".

--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация