Ruby Forum Rails Spinoffs > 302 redirects

Posted by niciliketo@googlemail.com (Guest)
on 16.05.2008 11:17
(Received via mailing list)
Hi,

Trying to use Ajax.Updater to update a screen element.  Works well,
except in one place where I want to use a 302 Redirect page.  This
works absolutely fine in the Browser, and takes me to the page I want
to see.  However, when calling using Ajax Updater, I get a message
like this:

This document you requested has moved temporarily.

It's now at http://....

The on302 event fires, and I have tried re-calling Ajax.Updater from
there, with the redirect URL, but with no success.

I have seen other posts which say that hte redirect happens
transparently to the code, but this is not my experiece.  I am using
Firefox 2.

Any ideas?

Thanks
Posted by niciliketo@googlemail.com (Guest)
on 16.05.2008 11:21
(Received via mailing list)
Oh,
One other thing.  The code works a charm in IE 7, takes me straight to
the redirect page.
So it works in IE, but not FF. Does this make me a bad person?
Posted by kangax (Guest)
on 20.05.2008 19:35
(Received via mailing list)
Does this also happen with Ajax.Request?

- kangax

On May 16, 5:20 am, "nicilik...@googlemail.com"