Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Client-Server Communication in Perl CGI
November 14, 2008, 12:57 pm
rate this thread
I have a requirement like this,
My client program is a browser, and the server may be run in perl, ror
or any other server side scripting. The browser has to send the
request to the server once, after that the server has to keep track of
the client and send the response frequently to the client.
One way we can achieve this with Applets. Is there any other way to
achieve this ??
Re: Client-Server Communication in Perl CGI
Sounds like 'AJAX' to me. I am only familiar with the concept, not the
methods, so I can't say for sure. See
<http://en.wikipedia.org/wiki/Ajax_ (programming)> for more info.
For vanilla HTTP, the choice is "server push" and "client pull". See,
for example <http://oreilly.com/openbook/cgi/ch06_06.html .
For an example of client pull, see
- » FAQ 6.19 Why does using $&, $`, or $' slow my program down?
- — Next thread in » PERL Discussions