Hi Avichal Garg,

Is it a GET or a POST request, because IE (and OPERA) cache GET
request.
In Firebug, do you see the header you set when request is lauch from
FF ?

--
david

On 28 oct, 08:54, Avichal Garg <[email protected]> wrote:
> Hi,
>
> I'm using Prototype 1.6.0.3. I spent a lot of time searching the net
> for solutions to this and found a few good suggestions/hints. The most
> relevant is the following, which talks about the exact problem I'm
> having:https://prototype.lighthouseapp.com/projects/8886/tickets/175-ajax-up...
>
> I have a page, sitting atwww.domain.com/folderwhich opens a popup.
> This popup then uses Ajax.Updater to update a div onwww.domain.com/folder
> (the parent/opening page). In FF this works fine. In IE it works the
> first time but not subsequent times. After the parent page is
> refreshed.
>
> I've tried setting the http headers in the indexSuccess module/actions/
> actions.class.php as suggested 
> herehttp://greenash.net.au/posts/thoughts/an-ie-ajax-gotcha-page-caching
>
> $this->getResponse()->setHttpHeader('Last-Modified', gmdate("D, d M Y
> H:i:s")." GMT");
> $this->getResponse()->setHttpHeader('Cache-Control', 'no-store, no-
> cache, must-revalidate, post-check=0, pre-check=0');
> $this->getResponse()->setHttpHeader('Pragma', 'no-cache');
>
> This hasn't worked.
>
> I also noticed in the updateContent function in Ajax.Updater, there is
> a call: receiver.update(responseText); (line 1468 or so)
>
> The first time through, this call is executed and the resulting call
> is made to the IE specific update function on line 2449. The second
> time through, this function doesn't seem to get called at all.
>
> I also tried creating a unique URL for the ajax request by appending
> the current timestamp to the end 
> ofwww.domain.com/folder?timestamp=12311312312.
> This creates two unique subsequent URLs for the Ajax.Updater call but
> the call to receiver.update still seems to fail.
>
> Does anyone have ideas on what is going on? Am I not setting my http
> headers in the right place?
>
> Thanks,
> Avichal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to