Hello everyone. I have 2 methods on server: first is the redirect 
method that redirect http request on second method and returnig 
code 302 and that second method -> that returning data. I use 
AJAX to call first method, then Ajax request is redirect to 
second method and the second method return data which i can use. 
And afterall I get status 200 from xmlHttpResponse object. Is it 
right? Because I called url that redirect my request to other url 
so shoudn't I get 302 code? How can I identify does the AJAX call 
 was redirect or not if I always get status code 200? I try using 
function onFailure or onException but Ajax object ALWAYS calling 
(ajax method) onSucces and when I checked status there is always 
200. Can someone help me?
Gregor

----------------------------------------------------
Najsłynniejszy detektyw świata powraca! Steve Martin 
jako inspektor Clouseau w komedii "Różowa pantera
- w kinach od 24 lutego 
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fpinkpanther.html&sid=668


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to