I am having issues with flash’s POST and Iframes. IE7 won’t recognize that it has left an iframe.
Link in Iframe in different domain to leave Iframe: <a href=‘http://www.********.com/flashyrss/usercp.php’ target=’_top’>Enter Control Panel</a>
IE7 Doesn’t realize that it has left the Iframe. I did a test… I went to the page directly by typing the url, and not from the Iframe, and POST works perfect, just like in firefox… But, if I goto the page from the Iframe via that link, POST doesn’t work.
How do I kill the iframe in IE7’s memory for good? Link to a page on my site, do a meta refresh to another page? ■■■■ IE7…
In Firefox, everything works perfect, in IE7… It doesn’t pass the variable.
//SWF in usercp.php
//Code in SWF
function go(evt:MouseEvent) {
var url:String = "activate.php";
var request:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.imageURL = "http://mysite.com/myimage.gif";
request.data = variables;
request.method = URLRequestMethod.POST;
navigateToURL(request);
}
Serverside… activate.php receives the variable perfectly with firefox, with IE… Nothing…
echo"$_POST[imageURL]";
// Results in a blank page if using IE7!
//If using firefox... "http://mysite.com/myimage.gif".