Koen,
My setup is Apache 2 with mod_fcgid running my Wt program. All my testing so
far has been on localhost, so nothing weird on the network/internet should be
able to cause the loading indicator to vanish.
> 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.
I was trying to avoid getting that sophisticated but you're probably right I
should bite the bullet. WTimer looks good, I'll try that. It'll also allow me
to do a progress indicator which I was already wanting.
Thanks.
=Shawn
________________________________
From: Koen Deforche <[email protected]>
To: [email protected]
Sent: Thursday, September 3, 2009 3:09:33 PM
Subject: Re: [Wt-interest] WOverlayLoadingIndicator dies after 40 seconds
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
------------------------------------------------------------------------------
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