There were some push type applications a long time ago and IE even had the ability to handle this natively at one point (Active Desktop) but that way of delivering content failed in the market place. PointCast is an example of this and you can read about why it failed at http://en.wikipedia.org/wiki/PointCast_(dotcom). The summary is that push is too resource intensive so most apps use pull instead.

In any event, it should be pretty easy to implement the example in the CGI book (you can even find a native Perl port if you don't want to convert to something else) to see if that still even works.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of elehti@xxxxxxxxxxxxxxxxxx
Sent: Thursday, September 25, 2008 4:52 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] push data from server to client web browser

But what about keeping the HTTP connection between the client and the
server open indefinitely in RPG IV CGI programming?

The Oreilly book http://oreilly.com/openbook/cgi/ch06_06.html
in chapter 6 says about CGI programming,
It provides the programming code for two examples of server push and
contrasts that to client pull.
The HTTP connection between the client and the server is kept open
indefinitely.
Server push involves sending packets of data to the client periodically,
as shown in Figure 6.8.

Server Push
Server push animations can be created using the
multipart/x-mixed-replace MIME type. The "replace" > indicates that each
data packet replaces the previous data packet. As a result, you can make
smooth > animations. Here is the format in which this MIME type is used:


I thank ALL of you very much for the comments you have shared so far.
EricL
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.