I turned off caching completely (ie dev toolbar) and still get the
error
On Aug 22, 3:16 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> What is catching your request? Is there any chance that the application
> server is caching the result? I put a lump of cache-busting-fu at the
> top of any of my Ajax responders:
>
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //
> always modified
> header("Cache-Control: no-store, no-cache, must-revalidate"); //
> HTTP/1.1
> header("Cache-Control: post-check=0, pre-check=0", false);
> header("Pragma: no-cache"); // HTTP/1.0
>
> I am sure that some of much of this is redundant, but I do it anyway.
>
> Walter
>
> On Aug 22, 2007, at 3:11 PM, RussellZ wrote:
>
>
>
> > I am running Ajax.request over all objects that have a certain class
> > (I'm using the $$ function). The url is the same for all requests
> > except for the parameter that is passed. After the first request, all
> > of the subsequent requests come back with no data (the responseText is
> > blank). If I change asynchronous to False it works - but this is not
> > an acceptable solution.
> > Does anyone have any idea on a fix?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---