Groups | Blog | Home
all groups > flash actionscript > july 2005 >

flash actionscript : Issue with LoadVars, XML, HTTPS, IE, JSP


mmeansdad
7/22/2005 10:36:45 PM
Hi -

I am experiencing a weird issue that I wanted to post and see if anybody has
any insight.

Using Flash MX, I have created a small SWF with this code:

var XMLDoc:XML = new XML();
XMLDoc.onLoad = function(success) {
trace(XMLDoc.toString());
}

var my_lv:LoadVars = new LoadVars();
my_lv.sendAndLoad("getData.do", XMLDoc, "POST");

The XML gets returned from the server via a JSP page.

This works perfectly in IE with HTTP but not HTTPS. This also works fine with
Firefox and Netscape in both HTTP and HTTPS. Just not IE and HTTPS

In IE with HTTPS, it does think the onLoad is successful, it just has an empty
XML object.

I am not sure what to try next, so any ideas would be helpful

Thanks,

Mitch
mmeansdad
7/23/2005 12:00:00 AM
In doing more research, like threads:


http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=294&thre
adid=695329#2507517

it seems there are some bugs that need to be addressed within Macromedia or
Microsoft

The "solution" here is to set the Pragma and Cache-Control to not cache, but
again this is really a bandaid, not a fix.
AddThis Social Bookmark Button