META refresh problem - looking for better ideas

Discussion in 'HTML' started by Jemdam.com, Nov 21, 2005.

  1. Jemdam.com

    Jemdam.com Guest

    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
    Jemdam.com, Nov 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chumley Walrus
    Replies:
    1
    Views:
    917
    Joerg Jooss
    Mar 5, 2005
  2. Nym Pseudo

    META NAME and META HTTP-EQUIV

    Nym Pseudo, Sep 26, 2003, in forum: HTML
    Replies:
    1
    Views:
    521
    =?iso-8859-1?Q?brucie?=
    Sep 26, 2003
  3. Duane Johnson

    Meta methods to govern meta data?

    Duane Johnson, Oct 25, 2005, in forum: Ruby
    Replies:
    6
    Views:
    213
    Adam Sanderson
    Oct 28, 2005
  4. Erik Veenstra

    Meta-Meta-Programming

    Erik Veenstra, Feb 7, 2006, in forum: Ruby
    Replies:
    29
    Views:
    332
    Erik Veenstra
    Feb 8, 2006
  5. Erik Veenstra

    Meta-Meta-Programming, revisited

    Erik Veenstra, Jul 21, 2006, in forum: Ruby
    Replies:
    21
    Views:
    408
    Erik Veenstra
    Jul 25, 2006
Loading...

Share This Page