PDA

View Full Version : getURL + POST + _blank = problem


mr_lafond
12-28-2001, 12:11 AM
Has anybody had a problem sending data to backend script (PHP in my case) using getURL and target setting other than "_self" with "post"? When I use:
getURL("absoluteurl.php", "_blank","POST")
the data fails to reach the php script at all, but:
getURL("absoluteurl.php", "_self","POST")
works fine, and when tested through an html form with target="_blank" it also works fine. Basically, getURL has problems sending data to a new window using POST method and I wonder if anyone else here has seen this problem and, better yet, knows what to do about it.

mr_lafond
12-28-2001, 12:15 AM
addendum to myself:
Actually "_blank" works fine EXCEPT when the swf is embedded inside a frameset.

Jesse
12-28-2001, 02:39 AM
If it's in a frameset, try _top... Never experience this before but I don't use frames.

zoomfreddy
12-28-2001, 12:56 PM
I had a similar problem a few weeks ago, but with a cgi file...

...one window open a new one with a swf, then i tried to call the cgi via "getUrl", with the previous window as a target, and it works,but without variables passed


(as i remember, using "_blank", or "_self" as a target worked for me with the cgi)


BTW, for my problem, i found two work arounds(javascripts), but as strange as it sounds, they just work in Mac (explorer and Netscape) , not in Pc ...:confused: ...so, i ended with 3 windows to keep my variables in Pc and Mac...