Click here to get back home

Client-Server Communication in Perl CGI

 HomeNewsGroups | Search

comp.lang.perl.misc - PERL programming language 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Client-Server Communication in Perl CGI sri 11-14-2008
Posted by sri on November 14, 2008, 7:57 am
Please log in for more thread options
Hi Friends,

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 ??

Regards,
Sri Seethalakshmi.B

Posted by Jim Gibson on November 14, 2008, 1:09 pm
Please log in for more thread options
In article

show/hide quoted text

Sounds like 'AJAX' to me. I am only familiar with the concept, not the
methods, so I can't say for sure. See
show/hide quoted text

For vanilla HTTP, the choice is "server push" and "client pull". See,
show/hide quoted text

For an example of client pull, see
show/hide quoted text

--
Jim Gibson

Posted by Peter J. Holzer on November 15, 2008, 1:43 pm
Please log in for more thread options
show/hide quoted text

Nope. AJAX doesn't magically allow the server to send something to the
browser without a request. Instead some JavaScript running in the
browser sends requests to the browser. So, for in the terminology you
use below, it is some kind of "client pull".


show/hide quoted text

Similar ThreadsPosted
Perl and C communication January 12, 2008, 12:24 pm
Communication between Cgi and another perl application December 13, 2004, 2:14 pm
googletalk communication with perl September 16, 2005, 8:34 pm
Bidirectional communication between Perl and C January 6, 2006, 2:36 am
Serail Port communication using PERL May 4, 2006, 2:59 am
Perl parent-child communication. April 24, 2007, 4:42 am
VB6 and Perl on 2000/XP: Req recommendation for interprocess communication June 4, 2005, 9:24 am
Inter Program Communication ... October 26, 2004, 5:42 pm
Fast pipe communication February 3, 2006, 4:17 pm
Distributed multitasking, POE, communication October 7, 2006, 6:24 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy