Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Output to Browser as script executes?

by packetstormer (Monk)
on Apr 05, 2012 at 10:41 UTC ( #963648=note: print w/ replies, xml ) Need Help??


in reply to Re: Output to Browser as script executes?
in thread Output to Browser as script executes?

It is mainly to keep the users informed. The actual process I will be running with the results of a user built template being passed to a mass SMS scheduler. There could be as little as 10 SMS text being sent or as many as 100,000. I would like the user to have some feedback on the result/status of the loop, if possible.


Comment on Re^2: Output to Browser as script executes?
Re^3: Output to Browser as script executes?
by GrandFather (Cardinal) on Apr 05, 2012 at 10:49 UTC

    In that case I'd be inclined to fork off a process to handle the scheduling task and return a page that has a timed refresh (include <META HTTP-EQUIV="REFRESH" CONTENT="30"> in <head> for a refresh every 30 seconds for example) while the scheduling task is running.

    True laziness is hard work

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-25 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls