Spoe
05-31-2006, 04:22 PM
I've several calls to LoadVars.sendAndLoad() that work just fine in Mozilla, Firefox, etc. but fail in IE. The request gets to the server and is processed but the response is never seen by my SWF. IE Watch reports ERROR_INTERNET_UNABLE_TO_CACHE_FILE as the status of these requests and reports no response information (headers, size, etc.).
Sample request code:
var resWinOdds:LoadVars = new LoadVars();
resWinOdds.onLoad = winOddsOnLoad;
function doGetWinOdds() {
if (spinning) return;
var reqWinOdds:LoadVars = new LoadVars();
reqWinOdds.account = account;
reqWinOdds.authkey = authkey;
reqWinOdds.menu = 'win_odds';
reqWinOdds.sendAndLoad("https://www.brisnet.com/php/jackpot/menu.php", resWinOdds, "GET");
}
The URL generated by the sendAndLoad() request works if cut and pasted to the IE address bar and gives the expected response. And, as stated, this works fine in other browsers, but does not work in IE 6.
Changing the method to POST has no effect. Nor do any changes I've tried on the server, such as trying different content-types, etc.
Any ideas?
Sample request code:
var resWinOdds:LoadVars = new LoadVars();
resWinOdds.onLoad = winOddsOnLoad;
function doGetWinOdds() {
if (spinning) return;
var reqWinOdds:LoadVars = new LoadVars();
reqWinOdds.account = account;
reqWinOdds.authkey = authkey;
reqWinOdds.menu = 'win_odds';
reqWinOdds.sendAndLoad("https://www.brisnet.com/php/jackpot/menu.php", resWinOdds, "GET");
}
The URL generated by the sendAndLoad() request works if cut and pasted to the IE address bar and gives the expected response. And, as stated, this works fine in other browsers, but does not work in IE 6.
Changing the method to POST has no effect. Nor do any changes I've tried on the server, such as trying different content-types, etc.
Any ideas?