On Thursday, February 13, 2003, at 06:38 AM, James R. Phillips wrote:
> At http://zunzun.com, I have processes that can possibly take a
> couple of minutes to complete. What I would like to do when
> handling some of the browser requests is to immediately send
> the user a status page, call the methods above, and continue
> processing. The status page would either refresh itself
> library make XML-RPC calls every so often - in both cases,
> a different thread would make a status page. I have the user's
> IP address for use in distinguishing different users on different
Will this really work? I mean, will a browser keep sending data even
as its getting completed responses?
> My thinking is that I'll need to add a new method call to the
> ThreadedAppServer to encapsulate strmOut.close(), conn.shutdown(1),
> and conn.close() so I can call them at will, and a flag in
> RequestHandler I can set so when the transaction completes it
> will not call these.
> Any comments, ideas, suggestions, or questions?
Well, none that are very helpful, but if you make these changes it
would probably be best to make them on NewThreadedAppServer (which will
be renamed ThreadedAppServer in CVS sometime soon).