in reply to update content without refreshing

I had been looking at ways to update content of a web page without using any auto refreshing meta.

There's a way to do this using "pushlet" technology, but it's rather complicated (involving Frames, JavaScript, and persistent browser connections).

The idea behind a pushlet is that a hidden frame keeps a long-running HTTP GET going to a server. The server dribbles out JavaScript commands, which get interpreted and executed by the browser as they arrive. These commands invoke JavaScript routines that are embedded in either a parent window or in another frame. Typically, a side-effect of this invocation is to refresh part or all of some visible frame.

This collaboration requires that the server-side keep a long-running connection. Most off-the-shelf web servers will time connections out.

KnowNow, Inc. pioneered this technology (though they didn't invent it). They also recently started a SourceForge project to release some of their code publicly.

A google search on "pushlet" might turn up more usable info.

Replies are listed 'Best First'.
Re^2: update content without refreshing
by Aristotle (Chancellor) on Jun 08, 2003 at 23:43 UTC
    I did something similar but different way back when I first started doing web stuff - except with client side server pull. My approach was to use a timer to reload an empty sub-frameset that wouldn't show up in the browser's display but served as a vehicle for Javascript.

    Makeshifts last the longest.