Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Update on controlling long-running processes via CGI

by scorpio17 (Canon)
on Nov 13, 2014 at 17:07 UTC ( #1107124=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <form name="csvform" action="/myapp.pl/downloadcsv" method="POST">
    <input type="submit" name="csv" id="csv" value="Generate CSV File" onc
    +lick="return SubmitTheCSVForm();" />
    </form>
    
  2. or download this
    var submitted = false;
    function SubmitTheCSVForm() {
    ...
      submitted = true;
      document.csvform.submit();
    }
    
  3. or download this
    sub downloadcsv : Runmode {
      my $self = shift;
    ...
    
    }
    
  4. or download this
    sub csv_status : Runmode {
      my $self = shift;
    ...
      return $template->output;
    }
    
  5. or download this
    
    <TMPL_IF STILL_RUNNING>
    ...
    <h3> Job complete!</h3>
    </TMPL_IF>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107124]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-02-03 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (24 votes). Check out past polls.

    Notices?