A very impressive 95 lines o' Perl Randal!
Ed
"Randal L. Schwartz" wrote:
> >>>>> "Michael" == Michael Nachbaur <[EMAIL PROTECTED]> writes:
>
> Michael> This is off-topic, but I need an answer pretty quick, and I
> Michael> *am* writing this app using mod_perl, so its sorta related
> Michael> (also, I don't want the headache of re-subscribing to a new
> Michael> list).
>
> Michael> You know those online web-based tech support chat systems?
> Michael> Its commonly frame based, but its just like IRC, but over
> Michael> HTML. when a user posts a message it immediatly pops up on
> Michael> the chat frame, and you submit your message through a
> Michael> regular-ol' HTML form. I don't think this is an applet,
> Michael> because this works in all sorts of browsers. I think its
> Michael> javascript, but I'm not sure. My main question, is when the
> Michael> server knows that a new message has been posted, how does it
> Michael> push that new page out to the client web browser? I'm used
> Michael> to all page-views originating from the client...not the
> Michael> server.
>
> Michael> Any ideas?
>
> Server push is not universal. Client Pull is more available.
> See <http://www.perlmonks.org/index.pl?node_id=31083> for an example
> of a very short client-pull webchat, from an upcoming WebTechniques
> column (past columns at <http://www.stonehenge.com/merlyn/WebTechniques/>).
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!