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
every 5 seconds or so, or using Javascript and the vcXMLRPC
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
threads.
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).

Ian



-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to