Hey Shawn,

2009/9/3 Shawn Yarbrough <[email protected]>:
> So far what I've described works great.  After my command line program
> completes, my slot function redirects to a different web page generated from
> the command line.  The problem appears when the command line program takes a
> long time to run.  After about 40 seconds, the WOverlayLoadingIndicator
> vanishes mysteriously.  And the Wt web page never gets redirected to the
> generated web page.  I find myself back at my original Wt web page, no
> longer greyed-out.  The command line program continues running in the
> background and appears to complete normally.
>

This could be because an intermediate server times out the pending
request? How does your deployment setup look like?

In any case: having your web page being non-responsive for over 40
seconds is not a good thing (and not reliable either: users may use
proxy servers which are notorious to close requests that take too long
and have no data exchange). It is better to run the command in the
back-ground, from a worker thread, and use a WTimer for example to
regularly check its status.

Regards,
koen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to