I've been researching my particular problem for a few days and haven't really come up with a solution yet, so I'm coming to the knowledge base for answers.
I have a web page with a form in it. When the user submits the form, a cgi script runs one or more commands (via ssh on another server) in the background, then displays the results on another web page. The problem is, some of these commands (syncing directories for example) take a really long time to complete. I really don't want the user to sit there and wonder if the script is working.
So, I'd like to be able to display the progress of the cgi script, possibly in a popup, so the user knows what's happening and can be confident that the script is actually running. When the cgi script is complete, the results should be displayed in the original browser window.
I should note that some of the commands return actual data (e.g. id -G username) and some just comments about what is happening (rsync). The actual results are used to compose other web pages that give the user more choices in another form.
There is no code to show you because I'm doing this in a closed network not connected to the Internet. But I could retype some of the code if needed.
Thanks in advance!
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |