Yes, it works now! :) Thank you very much Tobie, this problem has driven me insane... I think this should be mentioned in the API Docs or sowewhere else! If you are not familiar with that, you will probably never find that out on your own.
On 18 Jun., 22:07, tobie <[EMAIL PROTECTED]> wrote: > Sound like you're not setting up correct headers on your server. > > Have a look at > this:http://en.wikipedia.org/wiki/XMLHTTP#Microsoft_Internet_Explorer_cach... > > Please close the trac ticket you reopened if that solves your issue. > > Thank you. > > On Jun 16, 7:41 am, Gerrit <[EMAIL PROTECTED]> wrote: > > > Thanks for your message! > > I have changed the html file to your suggestions, but the container > > still doesn't get updated in IE. > > I have also tried a static text file and changed it while IE was > > running but it still showed the old value. > > But I have found something else interesting, if you clear IE's cache, > > the value gets updated once. > > It would be very nice if anybody else could try this and say if it > > works or not. I have no further ideas... > > > Just to make sure I got you right Adam, this is the changed html file: > > ---------------------------- > > <html> > > > <head> > > > <title>test</title> > > > <META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT"> > > > <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> > > > <script type="text/javascript" src="prototype.js"></script> > > > <script type="text/javascript"> > > Event.observe(window, 'load', doUpdate, false); > > function doUpdate() { > > new Ajax.PeriodicalUpdater('time', 'test.txt', > > > /*new Ajax.PeriodicalUpdater('time', 'time.php',*/ > > > { > > > method: 'get', > > > frequency: 1 > > > }); > > } > > > </script> > > </head> > > > <body> > > > <div id="time"></div> > > > </body> > > > </html> > > ---------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
