Displaying 3 results from an estimated 3 matches for "xmlhttpresponse".
2006 Feb 27
0
status = 200 something wrong???
...irect
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 me...
2006 Feb 21
0
Odp: RE: Ajax reqest and http status
...plete random.
Bur here is much important question. I using ajax call to connect url which is accesible only if user is logged (i mean there is a user session). Somethimes session expired and url is not accesible and there is redirect to other url i see that server return code 302 but i see that xmlHttpResponse object has status 200!!! So what I''m doing wrong? Or maybe this is a correct status because AJax call return html - not from url that wass calling but return html properly.
Dnia 21-02-2006 o godz. 12:14 Marco M. Jaeger napisaĆ(a):
> You should be able to do something like this:
>...
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...at 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 ca...