|Do you know where your variables are?|
cgi buffer flushby arc_of_descent (Hermit)
|on Mar 09, 2002 at 10:20 UTC||Need Help??|
arc_of_descent has asked for the wisdom of the Perl Monks concerning the following question:
Hi, This is my first post, so plz excuse any noviceness that i may display!
I've been cracking my head against output buffering in cgi.
I'm using mod_perl with apache 1.3.22
Here is what i'm trying to do:
Now what i expect in the browser is that the "Sleeping" string should be output and then 10 seconds later, the "Wide Awake" string should appear.
But unfortunately, both appear together after 10 seconds.
How do i seperate the two?
I basically want this for better html responses, as i do a lot of processing in my cgi and i want the user to know whats going on behind the scenes.
Does it have something to do woth apache buffering?