alt.comp.lang.perl
  Home FAQ Contact Sign in
alt.comp.lang.perl only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
alt.comp.lang.perl Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: perl and ajax         


Author: Joe 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
no comments