4 messages in com.googlegroups.google-gears[gears-users] Re: mobileIE trying to ...
FromSent OnAttachments
apapad22 Jul 2008 05:17 
Brad Neuberg22 Jul 2008 16:49 
Chris Prince22 Jul 2008 17:12 
apapad23 Jul 2008 09:11 
Subject:[gears-users] Re: mobileIE trying to connect while offline
From:apapad (apap@gmail.com)
Date:07/23/2008 09:11:51 AM
List:com.googlegroups.google-gears

Apparently, the problem was called by the usage of document.location.href to redirect to the index page after the submission.

Our design included a button for the submission of the for that on the onclick event called a javascript function that saved the data to the Gears database and then redirected to the index page by setting document.location.href. For some reason the localserver is not intercepting this and pocket IE tries to access the specified URL over the internet... We've solved the problem by using a link....

On 23 jul, 02:12, "Chris Prince" <cpri@google.com> wrote:

Andrei or Steve might have ideas as to what's happening here?

On Tue, Jul 22, 2008 at 5:17 AM, apapad <apap@gmail.com> wrote:

Hi all...

We are developing a Gears application which basically consists of a number of forms for entering data and an index file that links to these forms.

The application works fine on Firefox, with the "Work offline" option with all files being served from the localserver without problems.

However when I test the application on a pda (WM5) or on the emulator (WM6) without an Internet connection, the application tries to establish a connection whenever I submit a form. (At this point the application is supposed to link back to the index page which of course is specified in the manifest, so it should be served locally without requiring an internet connection).

I checked with firebug for any outbound requests for resources at that very point, but it didn't show anything.

Do you have any suggestions about how I can see why mobile IE requires a connection at that point and where it is trying to connect to?

Thanks