You can set

var postVars:URLVariables = new URLVariables();
postVars.someVars = 'foo';

URLRequest.method = 'POST':
URLRequest.data = postVars:

Then navigate to your request.

Best Regards,
~Aaron

On Wed, Apr 2, 2008 at 11:53 AM, David C. Moody <[EMAIL PROTECTED]>
wrote:

>   Hi guys,
>
> Using Flex 3 & AMFPHP to do my database operations.
>
> I have a report that you specify all the options in flex, and
> currently I'm just using a navigateToURL() function to open a web
> browser.
>
> I do not like this it is very unsecure as the variables are all
> passed in the URL string.
>
> How can I get around this? I've thought about creating an
> intermediate database that houses all the variables and then have a
> random number generated and only pass that random number so that the
> PHP script can then pull that record from the database and get the
> variables it needs.
>
> There's got to be an easier way to do this though? How can I make
> this where the user can't change the variables and run a different
> report. Is there a way to share variables between Flex & PHP without
> putting them in the URL? Cookies maybe?
>
> Thanks for any help!
> -David
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com

Reply via email to