As I understand what you are asking, yes.  Do something like this:

Var oRequest:Object = new Object();

oRequest.myArg1 = "myValue1";

oRequest.myArg2 = "myValue2";

myHTTPService.send(oRequest);

 

myArg1 and 2 become posted "form" variables, normally accessible
server-side from the page Request object.

 

Some folks have tried to put credentials in the header, but not with
much success, I gather.

 

There is an AS3 class out there that does MD5 encryption.

 

I have a simple example here, using either jsp or aspx.  The MD5 example
is for aspx only:

http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
D=556

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jon Bradley
Sent: Friday, May 11, 2007 7:42 AM
To: [email protected]
Subject: Re: [flexcoders] XMLHTTPRequest in Flex instead of Javascript

 

On the same line of thought, since HTTPRequest seems to be one of the 
answers to my problem, has anyone tried to perform user 
authentication through that?

The system we're developing uses servlets for all communication - but 
it creates these dynamically as we define pages that contain 
'portals' (every page is a dynamically created JSP page basically) in 
the backend system.

Am I correct to assume that if I can do a form post in an XHTML page, 
I can convert that post to the HTTPRequest in Flex?

thanks all!

jon

 

Reply via email to