views:

442

answers:

4

Hi everyone!

I'm working with ASP.NET MVC and jQuery and I have a UserControl that is repeated in every page. And in every page request, a ajax callback occurs... so far so good.

But this is when I'm in localhost. When I publish the site, I notice that this ajax is throwing an error 302, but this only occus in HTTPS pages and in FF and Chrome... on IE this ajax request works fine.

What is this error 302? Why it only occurs on https pages and only in FF or chrome?

thank you all!!

A: 

HTTP code 302 represents a redirection. The server is trying to tell you to redirect somewhere.

http://en.wikipedia.org/wiki/HTTP%5F302

Deniz Dogan
+1  A: 

HTTP 302 is used for redirection. My guess is that there is some sort of server error and you are being redirected to an error page using 302. Check the server logs for errors.

Chetan Sastry
A: 

Any resolution?

john
+1  A: 

Does the server you accessing has Page Redirection facility? and that the page you access by Ajax was redirected to another page? If that is the case, you'd disable the redirection(at least ignore redirection for that page) then give it a try. PS: I think Ajax may not support url redirection.

didxga