I figured out what was wrong.
I actually had two long-running processes on the final destination
page. The WOLongResponse was only handling one of them, so the page
was still timing out in Safari because it still took more than a
minute to finish.
I setup two sequential WOLongResponsePages now, the first hands off to
the second which then hands both results to the final page. Seems to
work, but is clunky having two sequential WOLongResponsePages.
Is there a better way?
Dave
On Nov 5, 2008, at 9:11 AM, David Avendasora wrote:
Okay, It's _is_ working as expected with Firefox. The refresh
happens just like it should and keeps refreshing until the process
completes. But with Safari, it never responds to the first refresh
call.
So this seems to be a bug with Safari and not with WO. Right?
Dave
On Nov 5, 2008, at 8:59 AM, David Avendasora wrote:
Hi all,
I'm having a problem with implementing a very simple
WOLongResponsePage.
I have the refresh set to 10 seconds, and the refresh kicks-off
once, but it never refreshes the page and eventually the page times
out stating that the Server is not responding.
I'm going super-simple with this to start with, so all the page
does is put up a "Working..." message. No progress bar or values to
update during the refresh.
It is the standard 3-page setup, where I pass an array of values
from page 1 to the WOLongResponcePage component. It then does a
bunch on each item in the array, building up another array, which
is eventually passed to the results page.
When it can be processed in less than 70 seconds, the results
appear as expected on the results page, but if the processing time
exceeds the browser-timeout + refresh time, I get the browser
complaining:
Safari could not open the page “http://10.0.1.4:50332/cgi-bin/WebObjects/BakeryManagementWebClient.woa/wo/BF5uqfevqtLXw42Gs2kNY0/22.WOMetaRefresh
” because the server is not responding.
Which is exactly the reason I need the LRP in the first place!
If I use Firefox instead of Safari, it still doesn't refresh the
page, but Firefox will wait indefinitely for the response so I end
up getting the expected results.
Any ideas what I'm doing wrong?
WO 5.3.3
Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]