For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2007 > Perl:CGI - Creating a Please wait message









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Perl:CGI - Creating a Please wait message
Ice Man

2007-02-16, 6:59 pm

I have created a CGI program which dynamically creates an HTML FORM.
This form upon submit, goes out and does some work that can take up
to
10 minutes to complete. Once done, the called CGI provides the user
with logged results.
My goal is to provide the user with an automated GIF and a message to
please stand by while the program is out doing its work.

I have tried to first display this "Please wait ... processing your
transaction" message at the beginning of the called CGI called
program, before any work is done. I have also tried to call an
intermediary CGI program which displays the message and calls the
working CGI in the background.

In all cases, the message is not displayed until after the CGI
working
program [which takes 10 minutes to complete] has actually completed!

I do not have a large javascript background and I would prefer to
stay
in Perl native. Is there anything I can do here or is my only option
to learn javascripting?

Thanks,
-Bill

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com