Problems with IE9 and AJAX

Get help using Construct 2

Post » Mon Oct 27, 2014 5:40 pm

Hi everybody,

I have a game that uses AJAX requests to a ColdFusion server. Things run perfectly smoothly in all browsers other than IE9.

Digging into the c2runtime.js, I've traced the point of error to the line that reads:
request.open(method_, url_);

Enclosing that in a try/catch, I wind up with an error message "Access is denied"...

The game and the requested file are sitting on the same server, so I don't believe there's any cross-domain shenanigans at work here.

Any suggestions or help are greatly appreciated!
B
15
S
2
Posts: 10
Reputation: 822

Post » Mon Oct 27, 2014 5:54 pm

Are you using absolute or relative path in your URL ? I suggest using relative to be sure no cross-domain hiccups might occur.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Mon Oct 27, 2014 6:17 pm

Oh wow! Seems like the relative path is working. Thank you so much for your great suggestion.
B
15
S
2
Posts: 10
Reputation: 822


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 49 guests