You are here: META refresh problem - looking for better ideas « HTML « IT news, forums, messages
META refresh problem - looking for better ideas

Posted by Jemdam.com on 11/18/47 11:32

Hi,

I wrote a simple chat room script in PHP and HTML and I need to refresh the
page every few seconds to cover the updates. At the moment it does a refresh
with the following code:

<META content="4;url=page.php" http-equiv=refresh delay="4">'

The problem is after some one has used it for a while it seems to refresh
more than once each loop and even when you leave the chat page you can see
it still loads each time even though this doesn't effect browsing afterwards
the reload click is a bit of a pain.

Does anyone have any ideas why this happens? Or does anyone have any great
ideas for another way to refresh a page in a frame every x seconds that is
more suitable?

If you need to see what I mean you can try my chat at:
http://chat.jemdam.com

Thanks,

David

 

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

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