# Simple Form to asp

**URL:** <https://forum.kirupa.com/t/simple-form-to-asp/299053>\
**Category:** flash\
**Created:** [October 29, 2009, 2:12am UTC](https://forum.kirupa.com/t/simple-form-to-asp/299053 "2009-10-29T02:12:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spmc](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@spmc](https://forum.kirupa.com/u/spmc)\
**Post date:** [October 29, 2009, 2:12am UTC](https://forum.kirupa.com/t/simple-form-to-asp/299053/1 "2009-10-29T02:12:54Z")

</div>

Pretty fresh to AS3, so any help would be greatly appreciated.

I need to send two fields to an [asp.net](http://asp.net) validate page. It’s a login, and the client is handling all errors on their end. So just need to pass them the two variables (username and password) and send the user to the asp page.

So I gather it’s going to look something like this:

```auto
var variables:URLVariables = new URLVariables();
var varSend:URLRequest = new URLRequest("valildate.asp");
var varLoader:URLLoader = new URLLoader();

variables.username = username;
variables.password = password;

varSend.method = URLRequestMethod.POST;
varSend.data = variables;

```
