Author: Joe SmithJoe Smith
Date: Jul 13, 2008 01:28
Louis wrote:
> I appreciate any comment or suggestion...
>
> I use ajax/php/mysql quite a bit, and it works great. I am now working
> in a different configuration, where there is no php and mysql installed,
> if I want to use ajax, I have to make use of perl on the web server.
>
> Herein my question, how do you make perl return data instead of a web
> page? Apparently the web server, whatever it is, called perl per my
> instruction but the data returned by the server is a web page. All I
> want perl to return data to my javascript so I can process the data.
The initial http request returns a web page, and is done with it.
Then javascript opens another TCP connection to get its data.
That's how javascript can load multiple images into a document.
Although with multipart/mime, a single http transaction can return
html and multiple streams of data.
-Joe
|