# Passing variable to ASP page using loadVariables

**URL:** https://forum.kirupa.com/t/passing-variable-to-asp-page-using-loadvariables/180734
**Category:** flash
**Created:** [March 3, 2006, 3:18am UTC](https://forum.kirupa.com/t/passing-variable-to-asp-page-using-loadvariables/180734 "2006-03-03T03:18:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JustinM](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JustinM](https://forum.kirupa.com/u/JustinM)
#### Post date: [March 3, 2006, 3:18am UTC](https://forum.kirupa.com/t/passing-variable-to-asp-page-using-loadvariables/180734/1 "2006-03-03T03:18:23Z")

</div>

Okay guys, here’s another one about passing data to an asp page. I’m trying to pass a variable through a string to an asp page. I cannot understand why this is not working. Here is my code:

this.btn1.onRelease = function (){ loadVariables(“[http://www.mywebsite.com/paragonstats/flashprogress.asp?pagename=introduction","POST](http://www.mywebsite.com/paragonstats/flashprogress.asp?pagename=introduction%22,%22POST)”);   
}

If I paste my url in a browser, it triggers the asp page as it should. But this code is not working from flash. If I use getURL, it works, but it opens another browser window or redirects my movie. I’m just trying to track click through statistics. I’ve even set up a movie with just one button on the root with this code and it won’t work. Can anyone please help, I’m baffled. Thanks!

Justin
