Hi guys, I''ve come across a weird problem and would like to get some help. right now I''m using the prototype Ajax.updater sending the request to another url from a jsp, however I''ve noticed that the request was conducted only on the first time it was initiated. Times after that the same result is returned without the request being made, seems like the data is cached or something similar. Does any know what is going on? thanks heaps --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Can you show us the JavaScript code that is used in your problem? It could be a caching issue, but by simply turning off browser caching you should be able to either confirm this as the culprit or know for a fact that caching is not involved. Give us your code and we''ll take a look at it. -E On 5/10/07, Sbock <jihwei-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi guys, I''ve come across a weird problem and would like to get some > help. > > right now I''m using the prototype Ajax.updater sending the request to > another url from a jsp, however I''ve noticed that the request was > conducted only on the first time it was initiated. Times after that > the same result is returned without the request being made, seems like > the data is cached or something similar. Does any know what is going > on? > > thanks heaps > > > > >-- Eric Ryan Harrison --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Try throwing a random element into your URL or params list, such as ''randvar=''+Math.random() - see if that doesn''t shake things up a bit. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---