Hello,

I have a web-app that is running on host A, it runs a few commands on
another host B and i want to display the output of the commands running on
B on a webpage present on A i.e. i want to create a kind of live streaming
of B's console on a webpage present on A.

For this what i did is I redirected the output of B's console to a socket
on A and saved the output in a file on A.

I fire an ajax call that initiates the process(using web2py controller) to
start at B. This ajax call also handles the redirection of B's  console to
A's socket.

>From the webpage I fire another ajax that reads the file in which the data
of the socket is being stored.

Now the problem I am facing is that when I fire the secodn ajax call it
does not returns to the webpage untill the first ajax call is returned.

I want to know that is this the correct way of doing this. Also i want to
know that, the problem I am facing is due to ajax or web2py framework?

-Saransh

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to