logo       

Re: Page reload problem with IE8: msg#03231

GoogleMapsAPI

Subject: Re: Page reload problem with IE8


On Jul 31, 8:42 am, tk5ep <pegl...@xxxxxxxxx> wrote:
> Hi Larry,
>
> I already tried everything i could with the META tags (no
> cache,expires=0) , but nothing helps...

IE doesn't know that the image has changed so it doesn't get it again.

>
> I use some javascript to reload my own page :  setTimeout
> ("window.location.reload();", 1000*60*10);
>
> And with :
> var oldmap = new GGroundOverlay("http://www2.meteox.com/radareu.php";,
> boundaries);
>
> i load a distant URL which, despite the url, returns a GIF file.

What is a "distant URL"?

>
> How can i force a reload of this distant URL ? Javascript somewhere ?

You could try adding a querry parameter to the URL:
"http://www2.meteox.com/radareu.php?nocache="+(new Date().getTime()

-- Larry

>
> Thanks,
> Patrick
>
> On 31 juil, 15:59, "geocode...@xxxxxxxxx" <geocode...@xxxxxxxxx>
> wrote:
>
>
>
> > On Jul 31, 6:20 am, tk5ep <pegl...@xxxxxxxxx> wrote:
>
> > > Hi all,
>
> > > I just finished a page using a GGroundOverlay. It overlays an image
> > > coming from another site.
>
> > > I forced a reload of my page every 10min to have an up to date map.
> > > While everything works fine with FF and Chrome, IE8  (even if i forced
> > > the IE7 compatibility) refuses to refresh the overlay..
>
> > > Does anyone have an idea ?
>
> > IE tends to like to hold onto things in the cache.  If the image is
> > changing, you might need to change the name (or add a parameter to the
> > URL which is a function of the time) so IE knows to get it again.
>
> >   -- Larry
>
> > > Here my page :http://tk5ep.free.fr/rsmap/rsmap.html
>
> > > Any help is welcome !
> > > Cheers,
>
> > > Patrick- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
Google-Maps-API+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise