Hi All - Sorry this may be a bit off-topic, but I *am* using Mochkit
and TurboGears..

I'm currently knocking up a proof of concept app which displays an
updating web page of information. I developed on Linux/Firefox, and it
works great. Then I checked using IE 6.0/XP from my laptop - some
initial weirdness, but the page seemed to display and update OK. Then
off to my client site, where they use XP/IE 6.0 exclusively (sigh). On
some PCs the page loads and updates immediately. On others only the
initial HTML loads - I have to Refresh to get the background image and
Javascript to load, and even then the data fetched by the
loadJSONDoc() doesn't display. Until I page back to the menu page and
forward again, when the JSON data loads and the page updates regularly
(using "callLater(10, getData, docnm);").  Aaaaaargh !

I've already fixed one problem, where if I used the same JSON document
name each time IE would happily give me its cached copy back after
every loadJSONDoc() call (after all, if it's got the same name, it
must be the same data - right ?). So now I use a counter to make a new
name each time, and IE (grudgingly) fetches the new data.

I suspect that it's some kind of cacheing issue in IE - I've already
put the following in the <head> of the html page

<meta content="no-cache" http-equiv="Pragma" />
<meta content="no-cache" http-equiv="Cache-Control" />
<meta content="no-store" http-equiv="Cache-Control" />
<meta content="max-age=0" http-equiv="Cache-Control" />
<meta content="1" http-equiv="Expires" />

but to no avail.

Can any veteran with IE battle scars please give me a clue as to where
to start with this ?  The app is currently served back in my office,
and I'll keep trying to debug back there with my laptop copy of IE -
but since it (mostly) works I can't understand what is going wrong
which makes it kinda hard to fix.

Thanks - Rob.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to