allyc has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am currently writing a web application which has to function across 3 web servers, each of which will perform different functions.
There will be 1 Main NT server and then 2 Unix servers.
At present, if a function on one of the Unix servers is required I am just loading the page directly from the required server within either a Popup window or an IFrame.
This however causes problems interacting with the window because of the Javascript origin security policy.
I am now looking into using something like LWP or IO::Socket::INET to pull the output from the Unix servers back to the master one, so I will have no problems with the same origin policy and also the the applications security can be improved.
The Problem is that many of the scripts that I am running on the unix servers turn buffering off so that the status of the process can be displayed to the end user. Examples of these processes are a FTP Client that shows the progress of the Transfer.
Is there any way to call the script from the Unix servers within my main application using LWP or IO::Socket without having the output buffered so the status is still reported correctly?
Which is the best method to use if it is possible and are there any pointers that might help me?
Many Thanks in advance.
Alistair
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using LWP or IO::Socket::INET without Buffering
by saintbrie (Scribe) on Apr 21, 2004 at 11:24 UTC | |
by allyc (Scribe) on Apr 21, 2004 at 14:05 UTC |