2

When my app`s session variable expires and if we try to perform any DB operation via AJAX call, I keep receiving this error only on IE (works fine on FF and chrome).

SCRIPT7002: XMLHttpRequest: Network Error 0x2f76, Could not complete the operation due to error 00002f76

Due to this my app is not redirecting. what can be the possible reasons?

TIA

user3572575
  • 31
  • 1
  • 6
  • http://stackoverflow.com/questions/14527387/script7002-xmlhttprequest-network-error-0x2ef3-could-not-complete-the-operati – ganesh Oct 08 '15 at 10:27

2 Answers2

1

For this the redirection status code

303 See Other HTTP status code

is not recognize in IE, Changed to the status code to 308 and worked perfectly.

user3572575
  • 31
  • 1
  • 6
0

I've got same error from IE in case of adding incorrect header to ajax request. It was such code:

    $.ajax({
        url: someUrl,
        type: "GET",
        cache: false,
        headers: "Cache-Control:no-cache"
    });

Problem was solved by changing code:

    $.ajax({
        url: someUrl,
        type: "GET",
        cache: false,
        headers: {
           'Cache-Control': 'no-cache'
        }
    });