Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
PerlMonks  

Re: Keeping visitors waiting

by cLive ;-) (Prior)
on Jul 25, 2001 at 20:00 UTC ( [id://99785]=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 Keeping visitors waiting

I have a script that runs for up to 30-40 seconds. To periodically update the user, I have a null form containing only a textfield. Then, when the script has completed a section, I print something like:
<SCRIPT LANGUAGE="Javascript"> document.forms[0].elements[0].value = 'Message to user' </SCRIPT>
So, as the script progresses, the snippet above, repeated for each message, re-populates the text box with a message.

Used within a frameset (and with $|++) this is quite effective.

cLive ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://99785]
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.