Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Printing that "waiting" page or call it win32::process::create problem

by blssu (Pilgrim)
on Sep 27, 2002 at 20:30 UTC ( [id://201326]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Printing that "waiting" page or call it win32::process::create problem
in thread Printing that "waiting" page or call it win32::process::create problem

IIRC, Win32 processes do not inherit open files like Unix does. That means when you create the "waiting" sub-process, it won't have a connection to the user's browser.

What you probably want to do is simply turn off caching in the web server (for this page only). What normally happens is the web server intercepts all of the data you are generating and sends it back to the user's browser for you. If you tell the web server not to do this -- your script is taking direct control of sending data -- the browser will see text as soon as you send it. (Don't forget that Perl will also cache your output! See $| for details.) You may need frames, JavaScript or some "meta" refresh tags to get the user interface you want.

  • Comment on Re: Re: Re: Printing that "waiting" page or call it win32::process::create problem
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-23 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found