Hi,
You can use LoadVars object.
E.g.
var form_lv = new LoadVars();
form_lv.username = "username";
form_lv.password = "password";
form_lv.send("http://server.com/script.jsp","_blank", "POST");
Above code would open a external browser window and pass the two
variables to server-side script.
Check out the LoadVars documentation for complete API.
-abdul
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of davidgdean
Sent: Tuesday, June 14, 2005 11:30 PM
To: [email protected]
Subject: [flexcoders] Logon to external site from Flex
I am trying to allow a logon from within flex to an external HTML
logon page. I was trying the getURL method, but after using a jsp
page to see the variables, it is passing so many, that my username &
password don't get passed.
What I am looking for is a way to do an HTML POST from flex and only
pass the variables I want. It seems getURL passes all global
variables. Any ideas?
Thanks in advance.
Yahoo! Groups Links
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/