Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: A Simple

by lindex (Friar)
on Apr 25, 2001 at 16:41 UTC ( #75427=note: print w/ replies, xml ) Need Help??


in reply to Re: A Simple
in thread A Simple "Tail" Question

Ah but thats the thing, I dont want the output from the script to end until the client request ends. i.e. a real tail, not just a snapshot.


lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/


Comment on Re: Re: A Simple
Download Code
Re: Re: Re: A Simple
by one4k4 (Hermit) on Apr 25, 2001 at 17:15 UTC
    As far as server push things go, remember that IE doesnt really like pushing things. See (Re: Generating a 'please wait' message and push_handler and status page question.) You may be able to do something with Javascript? What about a frame that reloads every second or some-such-what-not? Every time it reloaded, it would get the latest tail info.

    I know, in theory you could flush the output ($| = 1; (see your replies above)) and the browser will display stuff as it gets it. But I know IE sometimes waits until the page is complete, then shows said content. Oh well. Just my $.02. Hope it helps.

    _14k4 - webmaster@poorheart.com (www.poorheart.com)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2015-07-06 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls