views:

12

answers:

0

This code is being run from a frameset in IE8. When the new window is opened, the form data is not being recognized. It appears that the http header, "content-type: application/x-www-form-urlencoded", is not being passed into IE and this is causing the post data not to be processed. The data is there, IE is just doing nothing with it.

This code works fine in FF and Chrome, and in fact the correct headers are passed in FF and Chrome. Has anyone else run into this problem?

NOTE: The new page is on a different site, but i don't know why that would cause a problem with a POST and not a GET.

Flash code:

varSender = new LoadVars();
varSender.title = _parent.tCourseTitle;
varSender.notes = input_txt.text;
varSender.send("http://example.com/notes/print.cfm", "_blank", "POST"); 

I have tried adding the header to the send request, but that has no effect at all. The contenttype header is still missing and it still works everywhere but IE.

My current work around is to use a GET instead of a post, but that's ugly and it limits us in the size of data we can pass but for now at least it works.