I don't use .NET but just looking at your code I think you are using the wrong API calls.
I would assume the context.Request.QueryString would be getting the variables from the actual query string in the URL - the part after the ?. Usually, POST variables are populated elsewhere. For example, in PHP, the QueryString variables are available in the $_GET array and the POST variables are available in the $_POST array. Looking at the .NET documentation I think you should be using context.Request.form (http://msdn.microsoft.com/en-us/library/system.web.httprequest.form(VS.71).aspx). HTH Steve --- In [email protected], "Matthew A. Wilson" <korb...@...> wrote: > > I created a web handler (.ashx) in ASP.NET and it takes 4 post variables, all > strings. > > When I manually type in the URL with the variables > (name=this&email=that&comments=this) it works fine, but when I try to POST > those variables in an HTTPRequest in Flex, my web handler can't "see" the > variables. It breaks on the first line and says, there is no "name" variable, > i.e. - no instance of an object. > > What am I doing wrong? Does the Flex Request have to be formatted differently > for .NET? It works fine in PHP. > > <code> > > public void ProcessRequest (HttpContext context) { > string sName = context.Request.QueryString["name"].ToString(); > string sEmail = context.Request.QueryString["email"].ToString(); > string sType = context.Request.QueryString["type"].ToString(); > string sComment = context.Request.QueryString["comment"].ToString(); > > ... > ... > > } > > </code> >

