solved... It was a problem on the server side not on Prototype... I used append method instead of creating a new HTTP response, so the responses mixed up a lot
On 25 Feb, 10:39, Fabrizio Moscon <[EMAIL PROTECTED]> wrote: > I've got another clue... > It seems to get the JPEG JFIF headerinstead of it's real text/html > There seem to be some cross over requests between the ajax one and the > browser's, The error exist both in IE and FF > > On 23 Feb, 17:55, Fabrizio Moscon <[EMAIL PROTECTED]> wrote: > > > In my web site there are 2 periodic updater in the menu present in > > each page and sometimes when refreshing the page or simply browsing > > throughout the web site I can read the binary code instead of html/ > > text . > > Looking into firebug window I could appreciate that when it happens > > the HTTP response is not set, instead the same binary code is > > trasmitted. > > > This issue is relativly new and has been occurring from when I started > > testing manipulating the header of the images of the web site. The > > other really strange thing is that the binary code refers to the > > pictures present in the page, and the is not relation between what the > > updater call. > > > I don't know if it's a bug or a my error... code follows: > > > var au = new Ajax.PeriodicalUpdater('notify_box', '/Menu/ > > checknotify/', > > { > > method: 'get', > > parameters: {'auto' : 1}, > > frequency: 10, > > decay: 1, > > evalScripts:true, > > onSuccess: function(transport) > > { > > $('notify_box').style.display='block'; > > } > > > } > > }); --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---