Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

Re: Yet another progress bar...addendum

by Macphisto (Hermit)
on May 29, 2002 at 01:38 UTC ( [id://169985]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Yet another progress bar.

The following approach just came to me while I was settling into bed, and since my memory is terrible, I thought it best to write it up quickly:

If I could somehow, not process the information immediately after the submission button was pressed, I could then at least produce a graphic, or just throw out a count of bytes recieved. Something akin to - the user submits the information by striking the submit key and before I start pulling down that information, I create a popup window ( or just use the mainwindow for all I care ) and display total kB of data I've recieved by using the -s test on a predetermined temporary file. This would of course start at 0 since the file would be there, but it would have no data initially. The transfer of the file would begin and a meta-tag Refresh would allow the page to refresh every three seconds, thus recalling the progress_handler and again -s testing the temp file. The problem is how to delay that download so I can make the initial call to progress_handler and output output something - anykind of html or display first?



Everyone has their demons...you just happen to be mine.
  • Comment on Re: Yet another progress bar...addendum

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://169985]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.