when you shut down safari, you quit... refreshing when you come back  
is a feature, not a bug.

Now, if you've installed an apache server (I have) on your iPhone...  
refreshes will be that much quicker!


On Sep 6, 2007, at 11:36 AM, [EMAIL PROTECTED] wrote:

>
> It refreshes as a white page if the web server is not available.
> That's what I'd like to avoid. I don't want the browser attempting to
> refresh the page unless the user explicitly requests it.
>
> You don't have to be on the iPhone straight for a day. The scenario:
> load a page, shut off the phone and shut down the web server. If you
> turn the iPhone back on and go to the browser, the page is still there
> - and obviously, no attempt was made to contact the web server. Now if
> you try to look at the page a day or so later with the web server
> still down, it may or may not still be there. The browser may try to
> refresh it automatically, resulting in the blank page.
>
> This issue has been obliquely referenced (i.e., without resolution) in
> other posts. For example,
> http://groups.google.com/group/iphonewebdev/browse_thread/thread/ 
> 677f779772b53a3b/08b6e4f67485edcd? 
> lnk=gst&q=reload&rnum=10&hl=en#08b6e4f67485edcd
>
>
> On Sep 6, 11:24 am, Randy Walker <[EMAIL PROTECTED]> wrote:
>> So your'e saying your page refreshes after a day or so?  Who is going
>> to be on a page on an iphone straight for a day?  I'm interested in
>> why It refreshes as a white page instead of showing the content  
>> again.
>>
>> -=Randy
>>
>> On Sep 6, 2007, at 11:12 AM, [EMAIL PROTECTED] wrote:
>>
>>
>>
>>> Typically a day or so - which is why I thought it might have been
>>> "expires" related. This doesn't happen with just my apps - but also
>>> with other sites. For instance, Facebook (iPhone version), comcast's
>>> email (iPhone version), the game "Avalanche", etc.
>>
>>> Nothing timing out in my code that I know of - no setTimeout()  
>>> calls,
>>> if that's what you mean. No event handlers except for a body tag
>>> unload handler which is just a stub right now.
>>
>>> On Sep 6, 10:13 am, Randy Walker <[EMAIL PROTECTED]> wrote:
>>>> How long before the page refreshes?  I've never had that happen.
>>>> Are you
>>>> sure you don't have something timing out in your code?
>>>> -=Randy
>>
>>>> On 9/6/07 10:02 AM, "[EMAIL PROTECTED]" <hiroshi-
>>>> [EMAIL PROTECTED]>
>>>> wrote:
>>
>>>>> Anybody know if there's a way to force the browser to reload a  
>>>>> page
>>>>> ONLY when requested to do so by the user? Right now, the browser
>>>>> automatically attempts to reload the page (blanking it) if the  
>>>>> user
>>>>> has been away from it for awhile. I'd like to have the page remain
>>>>> intact even if no internet connection is available.
>>
>>>>> I've tried a few header and meta tag settings (pragma, cache-
>>>>> control,
>>>>> and expires, for example), with no luck.
>>
>>>>> Any ideas?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to