Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How can I selectively refresh part of a page?

by audreyt (Hermit)
on Jul 28, 2000 at 20:49 UTC ( #24905=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > How can I selectively refresh part of a page? - Answer contributed by audreyt

If the "part of the page" which needs to be updated can actually be a separate page embedded within the larger page, use an IFRAME. Its source (URL) can then be a server-side component producing the dynamic content, with a REFRESH set to your desired interval.

Alternatively...
There's multipart/x-mixed-replace. Here is some pretty good background and tutorial: server push with javascript Also read about COMET.

  • Comment on Answer: How can I selectively refresh part of a page?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-12-10 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.